summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2020-05-27 11:58:50 -0400
committerspiderr <spiderr@bitweaver.org>2020-05-27 11:58:50 -0400
commit967ada8c974a646d390a6758a7bd55ca4e350ef9 (patch)
tree5d26b9339f426d3b4af4293fcb5cf756be1fe867 /templates
parent06c1063c5b75ce0065f6eefb294b7aeb311581c5 (diff)
downloadusers-967ada8c974a646d390a6758a7bd55ca4e350ef9.tar.gz
users-967ada8c974a646d390a6758a7bd55ca4e350ef9.tar.bz2
users-967ada8c974a646d390a6758a7bd55ca4e350ef9.zip
tweak user_activity registered listing conditional check
Diffstat (limited to 'templates')
-rw-r--r--templates/user_activity.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user_activity.tpl b/templates/user_activity.tpl
index 8304355..4ca9131 100644
--- a/templates/user_activity.tpl
+++ b/templates/user_activity.tpl
@@ -25,7 +25,7 @@
<td class="norecords" colspan="5">{tr}No user activity found{/tr}</td>
</tr>
{/section}
- {if $smarty.request.user_id}
+ {if $userInfo}
<tr class="{cycle values="odd,even"}">
<td class="item" style="width:150px;">{displayname hash=$userInfo}<br/>(<a href="{$smarty.server.SCRIPT_NAME}?user_id={$userInfo.user_id}">{$userInfo.user_id}</a>)</td>
<td class="item" style="width:150px;">{$userInfo.registration_date|bit_short_datetime}</td>