aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-09-02 15:46:54 +0200
committerThomas Lange <code@nerdmind.de>2017-09-02 15:46:54 +0200
commitda10bf19cf78b71b62ecac1c32a83be2478104af (patch)
treeea539d3f840ba73e1e1ccb1f02a8a5317ae8c7a5
parent4addfb603e88642674003469c147eb8d5debbd96 (diff)
downloadblog-2.3.1.tar.gz
blog-2.3.1.tar.xz
blog-2.3.1.zip
Bugfix: An undefined array index "NAME" was used in the user navigation instead of the existing index "FULLNAME". This problem has existed since the first initial commit and was only present when more than one user had existed (it did not have affected the functionality of the navigation itself).v2.3.1
-rw-r--r--template/standard/html/user/main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/standard/html/user/main.php b/template/standard/html/user/main.php
index c72d53e..a72b3d3 100644
--- a/template/standard/html/user/main.php
+++ b/template/standard/html/user/main.php
@@ -17,13 +17,13 @@
<section id="site-navi">
<?php if($USER['PREV']): ?>
- <div><a id="prev-site" href="<?=$USER['PREV']['URL']?>" title="<?=$Language->text('prev_user')?> »<?=escapeHTML($USER['PREV']['ATTR']['NAME'])?>«"><i class="fa fa-arrow-left"></i></a></div>
+ <div><a id="prev-site" href="<?=$USER['PREV']['URL']?>" title="<?=$Language->text('prev_user')?> »<?=escapeHTML($USER['PREV']['ATTR']['FULLNAME'])?>«"><i class="fa fa-arrow-left"></i></a></div>
<?php else: ?>
<div><a class="disabled"><i class="fa fa-arrow-left"></i></a></div>
<?php endif; ?>
<?php if($USER['NEXT']): ?>
- <div><a id="next-site" href="<?=$USER['NEXT']['URL']?>" title="<?=$Language->text('next_user')?> »<?=escapeHTML($USER['NEXT']['ATTR']['NAME'])?>«"><i class="fa fa-arrow-right"></i></a></div>
+ <div><a id="next-site" href="<?=$USER['NEXT']['URL']?>" title="<?=$Language->text('next_user')?> »<?=escapeHTML($USER['NEXT']['ATTR']['FULLNAME'])?>«"><i class="fa fa-arrow-right"></i></a></div>
<?php else: ?>
<div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
<?php endif; ?>