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

Bugfix: Correct dynamic page suggestion setting logic

This commit is contained in:
Starbeamrainbowlabs 2016-11-28 12:48:03 +00:00 committed by GitHub
parent 99030913fe
commit c9b51c6743

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...' />";
}