diff options
author | Zvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net> | 2012-06-17 23:39:28 +0300 |
---|---|---|
committer | Zvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net> | 2012-06-17 23:39:28 +0300 |
commit | 8af9fe8df72b6ac8a9cd282e55ba431c90d9cfd8 (patch) | |
tree | 40f40edbbcadb2d70f108df374d58606104fce16 /include/nav.php | |
parent | 1ee22a749e636efbdde2e690c3e0c5f9422cedcd (diff) | |
download | volse-hubzilla-8af9fe8df72b6ac8a9cd282e55ba431c90d9cfd8.tar.gz volse-hubzilla-8af9fe8df72b6ac8a9cd282e55ba431c90d9cfd8.tar.bz2 volse-hubzilla-8af9fe8df72b6ac8a9cd282e55ba431c90d9cfd8.zip |
Added missing backticks to navigation bar query
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index 784fe1a51..d760cc8ae 100644 --- a/include/nav.php +++ b/include/nav.php @@ -53,7 +53,7 @@ function nav(&$a) { $nav['usermenu'][] = Array('notes/', t('Personal notes'), "", t('Your personal photos')); // user info - $r = q("SELECT micro,avatar-date FROM contact WHERE uid=%d AND self=1", intval($a->user['uid'])); + $r = q("SELECT `micro`,`avatar-date` FROM `contact` WHERE uid=%d AND self=1", intval($a->user['uid'])); $userinfo = array( 'icon' => (count($r) ? $r[0]['micro']."?rev=".urlencode($r[0]['avatar-date']): $a->get_baseurl($ssl_state)."/images/person-48.jpg"), 'name' => $a->user['username'], |