mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-29 06:23:01 +00:00
Bugfix: empty tag appearing when I didn't enter any tags
This commit is contained in:
parent
e79e522d78
commit
2dff5fe655
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ register_module([
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = "<h1>$title</h1>";
|
$content = "<h1>$title</h1>";
|
||||||
$page_tags = implode(", ", (!empty($pageindex->{$env->page}->tags)) ? $pageindex->{$env->page}->tags : [ "" ]);
|
$page_tags = implode(", ", (!empty($pageindex->{$env->page}->tags)) ? $pageindex->{$env->page}->tags : []);
|
||||||
if(!$env->is_logged_in and $settings->anonedits)
|
if(!$env->is_logged_in and $settings->anonedits)
|
||||||
{
|
{
|
||||||
$content .= "<p><strong>Warning: You are not logged in! Your IP address <em>may</em> be recorded.</strong></p>";
|
$content .= "<p><strong>Warning: You are not logged in! Your IP address <em>may</em> be recorded.</strong></p>";
|
||||||
|
|
Loading…
Reference in a new issue