fix for invalid status messages

This commit is contained in:
Roland Gruber 2012-02-22 22:44:18 +00:00
parent 34210fac29
commit 872ad47c1b
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,7 @@ class posixAccount extends baseModule implements passwordService {
if (isset($messageParams[2])) {
$message = new htmlStatusMessage($messageParams[0], $messageParams[1], $messageParams[2]);
}
else {
elseif (($messageParams[0] == 'ERROR') || ($messageParams[0] == 'WARN') || ($messageParams[0] == 'INFO')) {
$message = new htmlStatusMessage($messageParams[0], $messageParams[1]);
}
$message->colspan = 5;