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
1 changed files with 1 additions and 1 deletions

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