diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-02-02 02:59:20 +0000 | 
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-02-02 02:59:20 +0000 | 
| commit | 9d0927dda936756f1f5003813f437d714fe481f8 (patch) | |
| tree | fe1b887345b37387ab0ddcfd78bf344f6150b6cc /modules/organize/controllers/organize.php | |
| parent | a6f794c20dc3592bcaef17c622413c1b670a20d8 (diff) | |
| parent | 43985ea2fb137aa7d532617271e37d7c20def3c5 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/organize/controllers/organize.php')
| -rw-r--r-- | modules/organize/controllers/organize.php | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index 201ced30..4a4b9f13 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -36,7 +36,7 @@ class Organize_Controller extends Controller {      access::required("edit", $album);      print json_encode( -      array("grid" => self::_get_micro_thumb_grid($album, $offset)->__toString(), +      array("grid" => (string)self::_get_micro_thumb_grid($album, $offset),              "sort_column" => $album->sort_column,              "sort_order" => $album->sort_order));    } @@ -57,8 +57,8 @@ class Organize_Controller extends Controller {      }      print json_encode( -      array("tree" => self::_expanded_tree(ORM::factory("item", 1), $target_album)->__toString(), -            "grid" => self::_get_micro_thumb_grid($target_album, 0)->__toString())); +      array("tree" => (string)self::_expanded_tree(ORM::factory("item", 1), $target_album), +            "grid" => (string)self::_get_micro_thumb_grid($target_album, 0)));    }    function rearrange($target_id, $before_or_after) { @@ -114,7 +114,7 @@ class Organize_Controller extends Controller {      module::event("album_rearrange", $album);      print json_encode( -      array("grid" => self::_get_micro_thumb_grid($album, 0)->__toString(), +      array("grid" => (string)self::_get_micro_thumb_grid($album, 0),              "sort_column" => $album->sort_column,              "sort_order" => $album->sort_order));    } @@ -136,7 +136,7 @@ class Organize_Controller extends Controller {      $album->save();      print json_encode( -      array("grid" => self::_get_micro_thumb_grid($album, 0)->__toString(), +      array("grid" => (string)self::_get_micro_thumb_grid($album, 0),              "sort_column" => $album->sort_column,              "sort_order" => $album->sort_order));    } | 
