diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index a83be00f02..f3b408daba 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -359,13 +359,21 @@ return False; } - $html_error = ''; - for ($i=1; $i'; + $text = ''; } - return $html_error . '
' . lang($text) - . ': ' . $errors[0] . '
'; + else + { + $text .= ': '; + } + reset($errors); + while(list(,$value) = each($errors)) + { + $msgbox_input[$text.$value] = False; + + } + return $this->msgbox($msgbox_input); } /*!