Skip to content

Commit

Permalink
Update taghandlers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bloatware committed Aug 30, 2019
1 parent 0dd553f commit 8ccbc1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textpattern/publish/taghandlers.php
Expand Up @@ -212,7 +212,7 @@ function page_title($atts)

if ($parent_id) {
$out = gTxt('comments_on').' '.escape_title(safe_field("Title", 'textpattern', "ID = $parent_id")).$appending;
} elseif ($thisarticle['title']) {
} elseif (isset($thisarticle['title'])) {
$out = escape_title($thisarticle['title']).$appending;
} elseif ($q) {
$out = gTxt('search_results').' '.gTxt('txt_quote_double_open').txpspecialchars($q).gTxt('txt_quote_double_close').$pageStr.$appending;
Expand Down

0 comments on commit 8ccbc1a

Please sign in to comment.