Explorar o código

fix spacing on error

CauseFX %!s(int64=4) %!d(string=hai) anos
pai
achega
abf7945bd4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      api/functions/homepage-functions.php

+ 2 - 2
api/functions/homepage-functions.php

@@ -85,7 +85,7 @@ trait HomepageFunctions
 					if ($settingsType == 'string') {
 						if (empty($this->config[$setting])) {
 							if ($api) {
-								$this->setAPIResponse('error', $setting . 'was not supplied', 422);
+								$this->setAPIResponse('error', $setting . ' was not supplied', 422);
 							}
 							return false;
 						}
@@ -93,7 +93,7 @@ trait HomepageFunctions
 						foreach ($setting as $item) {
 							if (empty($this->config[$item])) {
 								if ($api) {
-									$this->setAPIResponse('error', $item . 'was not supplied', 422);
+									$this->setAPIResponse('error', $item . ' was not supplied', 422);
 								}
 								return false;
 							}