aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/errorController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/errorController.php')
-rw-r--r--app/Controllers/errorController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/errorController.php b/app/Controllers/errorController.php
index 59e910bac..81ce8768d 100644
--- a/app/Controllers/errorController.php
+++ b/app/Controllers/errorController.php
@@ -12,7 +12,7 @@ class FreshRSS_error_Controller extends FreshRSS_ActionController {
*
* Parameters are passed by Minz_Session to have a proper url:
* - error_code (default: 404)
- * - error_logs (default: array())
+ * - error_logs (default: [])
*/
public function indexAction(): void {
$code_int = Minz_Session::paramInt('error_code') ?: 404;
@@ -60,7 +60,7 @@ class FreshRSS_error_Controller extends FreshRSS_ActionController {
break;
}
- $error_message = trim(implode($error_logs));
+ $error_message = trim(implode('', $error_logs));
if ($error_message !== '') {
$this->view->errorMessage = $error_message;
}