From: cajus Date: Sun, 14 May 2006 17:06:00 +0000 (+0000) Subject: Moved error test output to the right place X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=193c8ceeb37d9ba64a9b0d5b3456ae169cdc99d4;p=gosa.git Moved error test output to the right place git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3323 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 571f5edc6..2da2847f4 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -986,8 +986,6 @@ function print_red() $_SESSION['errorsAlreadyPosted'] = array(); $_SESSION['errorsAlreadyPosted'][$string] = 1; - } - #Test if (!preg_match('/[.!?]$/', $string)){ $string.= "."; @@ -998,6 +996,8 @@ $_SESSION['errors'].= "
". "
"; + } + } else { echo "Error: $string\n"; }