From 193c8ceeb37d9ba64a9b0d5b3456ae169cdc99d4 Mon Sep 17 00:00:00 2001 From: cajus Date: Sun, 14 May 2006 17:06:00 +0000 Subject: [PATCH] Moved error test output to the right place git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3323 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.30.2