From 31114a2ca5e94d3c412de29786753d22c0c4ae7d Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 17 Jul 2015 17:34:49 +0200 Subject: [PATCH] Fixed a bug where tags would be recreated instead of "found". --- app/Models/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Tag.php b/app/Models/Tag.php index 73f23b7699..f7784212bd 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -64,7 +64,7 @@ class Tag extends Model // everything but the tag: unset($fields['tagMode']); $search = $fields; - unset($search['name']); + unset($search['tag']); $query = Tag::orderBy('id'); foreach ($search as $name => $value) {