Minor fix
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 1 Aug 2015 04:36:18 +0000 (04:36 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 1 Aug 2015 04:36:18 +0000 (04:36 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14519 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/login.php

index 536ca9acf0a6f2bdebac87bf4a54dc76cc30fc94..951c68415656b2680457a23c9ce627838d4a7be2 100644 (file)
@@ -101,7 +101,8 @@ if (! isset($color) || ! is_array($color)) {
 }
 
 // if any plugin returns TRUE here, the standard page header will be skipped
-if (!boolean_hook_function('login_before_page_header', array($header), 1))
+$temp = array($header);
+if (!boolean_hook_function('login_before_page_header', $temp, 1))
     displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );