summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/controllers/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/items.php b/core/controllers/items.php
index 36d88084..57be0046 100644
--- a/core/controllers/items.php
+++ b/core/controllers/items.php
@@ -56,7 +56,7 @@ class Items_Controller extends REST_Controller {
switch ($this->input->post("type")) {
case "album":
$album = album::create(
- $item->id,
+ $item,
$this->input->post("name"),
$this->input->post("title", $this->input->post("name")),
$this->input->post("description"),