forked from Public/pics
Refactor leftover old-style arrays into new-style arrays.
This commit is contained in:
1 parent
3694819d13
commit
c48ba786c1
5 files changed
+56
-59
No files matched your search
@@ -53,7 +53,7 @@ class ProvideAutoSuggest extends JSONController
|
||||
// It better not already exist!
|
||||
if (Tag::exactMatch($_REQUEST['tag']))
|
||||
{
|
||||
$this->payload = ['error' => true, 'msg' => "Tag already exists!"];
|
||||
$this->payload = ['error' => true, 'msg' => 'Tag already exists!'];
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ class ProvideAutoSuggest extends JSONController
|
||||
// Did we succeed?
|
||||
if (!$tag)
|
||||
{
|
||||
$this->payload = ['error' => true, 'msg' => "Could not create tag."];
|
||||
$this->payload = ['error' => true, 'msg' => 'Could not create tag.'];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user