mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-29 06:23:01 +00:00
Bugfix: Correct dynamic page suggestion setting logic
This commit is contained in:
parent
99030913fe
commit
c9b51c6743
1 changed files with 1 additions and 1 deletions
2
core.php
2
core.php
|
@ -1097,7 +1097,7 @@ class page_renderer
|
||||||
$result = "<datalist id='allpages'>\n";
|
$result = "<datalist id='allpages'>\n";
|
||||||
|
|
||||||
// If dynamic page sugggestions are enabled, then we should send a loading message instead.
|
// 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...' />";
|
$result .= "<option value='Loading suggestions...' />";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue