From 14da6b65b7954663455f0f0e31720959e3215bb3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 23 Dec 2008 04:43:54 +0000 Subject: Update to reflect change in album::create API --- core/controllers/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers') 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"), -- cgit v1.2.3