Add additional condition for strict checking.
This commit is contained in:
@@ -666,7 +666,7 @@ class PMA_Message
|
|||||||
static public function format()
|
static public function format()
|
||||||
{
|
{
|
||||||
$params = func_get_args();
|
$params = func_get_args();
|
||||||
if (is_array($params[1])) {
|
if (isset($params[1]) && is_array($params[1])) {
|
||||||
array_unshift($params[1], $params[0]);
|
array_unshift($params[1], $params[0]);
|
||||||
$params = $params[1];
|
$params = $params[1];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user