diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-17 06:46:48 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-17 06:46:48 -0800 |
commit | 74472dc83ca897423c630dce0d1d7e3b13bb0b5f (patch) | |
tree | 4cac66304fcc8346ad238d2cda123160b65f3eb3 /modules/organize | |
parent | eb1cdd037646b3697b64753652669fa9e25a5c8e (diff) | |
parent | 4ca55a90ee2f8e1d8595b0ec53a601d6c65475f6 (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/organize')
-rw-r--r-- | modules/organize/controllers/organize.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index 9d9da65e..c92d711f 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -127,7 +127,7 @@ class Organize_Controller extends Controller { "sort_order" => $album->sort_order)); } - function sort_order($album_id, $col, $dir) { + public function sort_order($album_id, $col, $dir) { access::verify_csrf(); $album = ORM::factory("item", $album_id); @@ -149,10 +149,10 @@ class Organize_Controller extends Controller { "sort_order" => $album->sort_order)); } - private static function _get_micro_thumb_grid($album, $offset) { + private static function _get_micro_thumb_grid(Item_Model $album, $offset) { $v = new View("organize_thumb_grid.html"); $v->album = $album; - $v->offset = $offset; + $v->offset = (int) $offset; return $v; } |