Fixed a bug where tags would be recreated instead of "found".

This commit is contained in:
James Cole 2015-07-17 17:34:49 +02:00
parent 32528094ad
commit 31114a2ca5

View File

@ -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) {