1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 17:23:00 +00:00

Revert "Bugfix: Correct dynamic page suggestion setting logic"

This reverts commit c9b51c6743.
This commit is contained in:
Starbeamrainbowlabs 2016-11-28 13:54:15 +01:00
parent c9b51c6743
commit cd507791fd

View file

@ -1097,7 +1097,7 @@ class page_renderer
$result = "<datalist id='allpages'>\n";
// If dynamic page sugggestions are enabled, then we should send a loading message instead.
if($settings->dynamic_page_suggestion_count === 0)
if($settings->dynamic_page_suggestion_count > 0)
{
$result .= "<option value='Loading suggestions...' />";
}