* Use the function zget to get users.

This commit is contained in:
liugang
2019-07-30 17:33:59 +08:00
parent 2a011d5d42
commit 9c53dd8e6b
34 changed files with 84 additions and 70 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
$i = 0;
foreach($actions as $action)
{
$user = isset($users[$action->actor]) ? $users[$action->actor] : $action->actor;
$user = zget($users, $action->actor);
if($action->action == 'login' or $action->action == 'logout' or empty($action->objectLink)) $action->objectName = $action->objectLabel = '';
$class = $action->major ? "class='active'" : '';
echo "<li $class><div>";