diff options
author | Andreas Gohr <andi@splitbrain.org> | 2016-01-29 13:00:17 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2016-01-29 13:00:48 +0100 |
commit | f606129280a1ed26ab175127c4219c18bad230f7 (patch) | |
tree | 5bb1008ae74f907237a879ded8d3bc070ef669bd | |
parent | feef05365065e2383c6e2fac039d08b82468cf03 (diff) | |
download | dokuwiki-f606129280a1ed26ab175127c4219c18bad230f7.tar.gz dokuwiki-f606129280a1ed26ab175127c4219c18bad230f7.zip |
avoid undefined offset. replaces #1359
-rw-r--r-- | lib/exe/ajax.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/ajax.php b/lib/exe/ajax.php index a200a3ded..1c1b5f03f 100644 --- a/lib/exe/ajax.php +++ b/lib/exe/ajax.php @@ -428,7 +428,7 @@ function ajax_linkwiz(){ echo '<a href="'.$link.'" title="'.htmlspecialchars($item['id']).'" class="wikilink1">'.$name.'</a>'; - if($item['title']){ + if(!blank($item['title'])){ echo '<span>'.htmlspecialchars($item['title']).'</span>'; } echo '</div>'; |