Refactor leftover old-style arrays into new-style arrays.
This commit is contained in:
@@ -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