openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit d12e7c3eb93038883faca98251dd7dd5804732fa
parent 768ad5b78dc95d8fa97ccee468a73c8ed903a30d
Author: dankert <devnull@localhost>
Date:   Wed, 24 Oct 2007 23:09:24 +0200

Funktion trigger_error() verwenden.

Diffstat:
themes/default/include/html/if.inc.php | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/themes/default/include/html/if.inc.php b/themes/default/include/html/if.inc.php @@ -1,8 +1,6 @@ <?php // Wahr-Vergleich -// Html::debug($attr); - if ( isset($attr_true) ) { if (gettype($attr_true) === '' && gettype($attr_true) === '1') @@ -58,9 +56,7 @@ else { - Html::debug( $attr ); - echo("error in IF line ".__LINE__); - echo("assume: FALSE"); + trigger_error("error in IF, assume: FALSE"); $exec = false; }