diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-27 21:58:06 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-27 21:58:06 -0800 |
commit | cfbbf9ef606094868ccbd25ccf65e1a6f610528b (patch) | |
tree | 8366d6885eacf52b0e49c12778c636e3281612f1 /modules/tag/controllers | |
parent | 212633d05a5a8abb77a744a69c61d6e3051b73c5 (diff) |
Convert __toString() to use (string) cast instead.
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r-- | modules/tag/controllers/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php index e28b7a83..1eede907 100644 --- a/modules/tag/controllers/tags.php +++ b/modules/tag/controllers/tags.php @@ -69,7 +69,7 @@ class Tags_Controller extends Controller { print json_encode( array("result" => "success", - "cloud" => tag::cloud(30)->__toString())); + "cloud" => (string)tag::cloud(30))); } else { print json_encode(array("result" => "error", "form" => (string) $form)); } |