ソースを参照

Fix up merging

mscherer 5 年 前
コミット
a3d4a83be9
1 ファイル変更1 行追加1 行削除
  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);