Refactor leftover old-style arrays into new-style arrays.

This commit is contained in:
2019-09-29 14:47:56 +02:00
parent 3694819d13
commit c48ba786c1
5 changed files with 56 additions and 59 deletions

View File

@@ -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;
}