Jump to content

[BUG 4.7.0] Debug code left in template "\applications\core\dev\html\global\forms\rowDesc.phtml"

Featured Replies

Posted

This is the template's code in 4.7.0:

{{if 0 && \IPS\Dispatcher::i()->controllerLocation == 'admin' AND !( $object instanceof \IPS\Helpers\Form\Address ) AND !( $object instanceof \IPS\Helpers\Form\Upload ) AND !( $object instanceof \IPS\Helpers\Form\Node ) AND !( $object instanceof \IPS\Helpers\Form\Codemirror )}}<br>{{endif}}
{{if \IPS\Dispatcher::i()->controllerLocation == 'front' AND ( !( $object instanceof \IPS\Helpers\Form\Checkbox ) OR $object instanceof \IPS\Helpers\Form\YesNo )}}<br>{{endif}}
<span class='ipsFieldRow_desc'>
	%s
</span>

 

 

Someone left a 0 that results always in a FALSE value at the start of the IF condition:

0 && 

 

Solved by Daniel F

Go to solution
  • Solution

Fixed

Recently Browsing 0

  • No registered users viewing this page.