summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-23 04:43:54 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-23 04:43:54 +0000
commit14da6b65b7954663455f0f0e31720959e3215bb3 (patch)
treecd214fcc64289517bd5dbea48784e14062ffcbeb
parent5713e3c66ed8bab3b86490d7b6e90f7947d53429 (diff)
Update to reflect change in album::create API
-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"),