summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/organize/controllers/organize.php6
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;
}