Browse Source

Fix up merging

mscherer 5 years ago
parent
commit
a3d4a83be9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Error/Middleware/ErrorHandlerMiddleware.php

+ 1 - 1
src/Error/Middleware/ErrorHandlerMiddleware.php

@@ -17,7 +17,7 @@ class ErrorHandlerMiddleware extends CoreErrorHandlerMiddleware {
 	 */
 	public function __construct($errorHandler = []) {
 		if (is_array($errorHandler)) {
-			$errorHandler += Configure::read('Error');
+			$errorHandler += (array)Configure::read('Error');
 		}
 		parent::__construct($errorHandler);