Explorar el Código

fix spacing on error

CauseFX hace 4 años
padre
commit
abf7945bd4
Se han modificado 1 ficheros con 2 adiciones y 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;
 							}