Hello,
after every update i get an 0 after the Search field.
There is a solution, but i have to do this after every update.
Go to the mod_search folder and open mod_search.php
Comment out line 28 by changing:
Code: Select all
$button = $params->get('button', 0);
To:
Code: Select all
// $button = $params->get('button', 0);
It would be fine if it is getting part of the standard.
Horst
I have seen this in the past and it was always because of an outdated mod_search override in the template
Thank you!
I made an Pull Request.
thanks @HK1966, have you checked @brianteeman comment above?
Just commenting out a line of code is not a fix
Status | New | ⇒ | Discussion |
Replace the 0 with '' if the value is being output as 0. We don't want to break code but change the default value from what I understand of the issue.
I've checked the code and you must have a template override as @brianteeman states. The code you are removing is a yes/no identifier for the original module template.
Status | Discussion | ⇒ | Information Required |
@franz-wohlkoenig can you close? Non-core issue
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-29 22:16:27 |
Closed_By | ⇒ | brianteeman |
@HK1966 thanks for contributing, can you make a Pull Request? How to make a Pull Request.