Jump to content

[BUG 4.7.2] Number helpers form checks the wrong variable


teraßyte
Go to solution Solved by Daniel F,

Recommended Posts

Support for a prefix was added in the template \applications\core\dev\html\global\forms\number.phtml but the code to display the prefix is checking the wrong variable on line 5:

{{if \is_string( $suffix )}}
{$prefix|raw}
{{endif}}

 

The IF should check $prefix rather than $suffix:

{{if \is_string( $prefix )}}
	{$prefix|raw}
{{endif}}

 

Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...