aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/install/helper/iohandler/iohandler_base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/helper/iohandler/iohandler_base.php b/phpBB/phpbb/install/helper/iohandler/iohandler_base.php
index 8dee5390a9..7271fe9bc0 100644
--- a/phpBB/phpbb/install/helper/iohandler/iohandler_base.php
+++ b/phpBB/phpbb/install/helper/iohandler/iohandler_base.php
@@ -101,7 +101,7 @@ abstract class iohandler_base implements iohandler_interface
*/
public function add_error_message($error_title, $error_description = false)
{
- if (strpos($error_title, '<br />') !== false)
+ if (!is_array($error_title) && strpos($error_title, '<br />') !== false)
{
$error_title = strip_tags(htmlspecialchars_decode($error_title));
}