openrat-cms

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

commit 1c46e11f928f8e0f8bd88673fbd2f48a200de860
parent e03258dce68c2068b9de740bfee255ebfaba9361
Author: Jan Dankert <devnull@localhost>
Date:   Wed, 10 Jan 2018 22:04:57 +0100

Beim Attribut 'not' reicht es, dass es (auch leer) existiert, damit es wirkt.

Diffstat:
modules/template-engine/components/html/if/If.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/template-engine/components/html/if/If.class.php b/modules/template-engine/components/html/if/If.class.php @@ -20,7 +20,7 @@ class IfComponent extends Component echo <<<'HTML' HTML; - echo '<?php $if'.$this->getDepth().'='.(empty($this->not)?'':'!').'('; + echo '<?php $if'.$this->getDepth().'='.(!isset($this->not)?'':'!').'('; if ( !empty($this->true )) echo $this->value($this->true); elseif (! empty($this->false))