return the error directly if it's not an array
This commit is contained in:
parent
5f689df89c
commit
eda30563e3
|
@ -100,7 +100,9 @@ class m_err {
|
|||
array_unshift($args, $str);
|
||||
$msg = call_user_func_array("sprintf", $args);
|
||||
return $msg;
|
||||
} else return "";
|
||||
} else {
|
||||
return $args;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue