return the error directly if it's not an array

This commit is contained in:
Antoine Beaupré 2008-07-10 20:48:04 +00:00
parent 5f689df89c
commit eda30563e3
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}
}
/**