com web/master: Fix the index.. this hasn't worked in few years I guess: include/functions.inc
| From: | Hannes Magnusson | Date: | Wed, 11 Dec 2013 03:27:56 +0000 |
| Subject: | com web/master: Fix the index.. this hasn't worked in few years I guess: include/functions.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17503@lists.php.net to get a copy of this message | ||
Commit: 514f32e87210668d051a75c63b0304665af54d4d
Author: Hannes Magnusson <bjori@mongodb.com> Tue, 10 Dec 2013 19:27:56 -0800
Parents: c6a84178a8a23a8f16feb344d6bdb58f16d1abd8
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=514f32e87210668d051a75c63b0304665af54d4d
Log:
Fix the index.. this hasn't worked in few years I guess
Changed paths:
M include/functions.inc
Diff:
diff --git a/include/functions.inc b/include/functions.inc
index 0734313..8f97087 100644
--- a/include/functions.inc
+++ b/include/functions.inc
@@ -63,8 +63,8 @@ function head($title="",$private=1) { // Default to $private == true to
permit n
<li><a href="/manage/user-notes.php">Notes</a></li>
<li><a href="http://wiki.php..net/">Wiki</a></li>
<li><a href="http://bugs.php.net/">Bugsweb</a></li>
- <?php if (isset($_SESSION['user'])) { ?>
- <li><a href="/manage/users.php?username=<?php echo
$_SESSION['user']; ?>">My php.net Profile</a></li>
+ <?php if (isset($_SESSION['credentials'])) { ?>
+ <li><a href="/manage/users.php?username=<?php echo
$_SESSION['credentials'][0]; ?>">My php.net Profile</a></li>
<?php } ?>
<li><a href="/manage/github.php">Github Repos</a></li>
<li><a href="/login.php?action=logout">Logout</a></li>