From 949586c254f3b70a4b44828d1dee600cc6276a50 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 20 Jan 2010 23:28:29 -0800 Subject: Oops, bug in save() -- we weren't returning the saved value! --- modules/gallery/libraries/MY_ORM.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gallery/libraries/MY_ORM.php b/modules/gallery/libraries/MY_ORM.php index 102b21f0..a158d853 100644 --- a/modules/gallery/libraries/MY_ORM.php +++ b/modules/gallery/libraries/MY_ORM.php @@ -20,7 +20,7 @@ class ORM extends ORM_Core { public function save() { model_cache::clear(); - $result = parent::save(); + return parent::save(); } } -- cgit v1.2.3