mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Revert "Bugfix: Correct dynamic page suggestion setting logic"
This reverts commit c9b51c6743
.
This commit is contained in:
parent
c9b51c6743
commit
cd507791fd
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