From 45bdf8f522728dba467fb62888fea2fb5f6e8cca Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Tue, 24 Aug 2010 14:47:29 +0200 Subject: [PATCH] Add additional condition for strict checking. --- libraries/Message.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Message.class.php b/libraries/Message.class.php index e7947b854..9bf58470e 100644 --- a/libraries/Message.class.php +++ b/libraries/Message.class.php @@ -666,7 +666,7 @@ class PMA_Message static public function format() { $params = func_get_args(); - if (is_array($params[1])) { + if (isset($params[1]) && is_array($params[1])) { array_unshift($params[1], $params[0]); $params = $params[1]; }