From 0af47672c5f1631cb0060bac4a9cf0e8af4e3a41 Mon Sep 17 00:00:00 2001 From: Parziphal Date: Mon, 27 Jan 2014 08:13:26 -0500 Subject: [PATCH] Fixed issue #55. --- app/controllers/TagController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/TagController.php b/app/controllers/TagController.php index 1c6830e..4653972 100755 --- a/app/controllers/TagController.php +++ b/app/controllers/TagController.php @@ -116,7 +116,7 @@ class TagController extends ApplicationController $this->render(array('xml' => $query->limit($limit)->take(), 'root' => "tags")); // } }, - 'json' => function ($s) use ($order, $limit, $query) { + 'json' => function () use ($order, $limit, $query) { $tags = $query->limit($limit)->take(); $this->render(array('json' => $tags)); }