summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_arrive.php4
-rw-r--r--includes/pages/admin_user.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php
index cb03437f..4f29b85d 100644
--- a/includes/pages/admin_arrive.php
+++ b/includes/pages/admin_arrive.php
@@ -36,7 +36,7 @@ function admin_arrive()
', [$user_id]);
engelsystem_log('User set to not arrived: ' . User_Nick_render($user_source));
success(__('Reset done. Angel has not arrived.'));
- redirect(user_link($user_source));
+ redirect(user_link($user_source['UID']));
} else {
$msg = error(__('Angel not found.'), true);
}
@@ -52,7 +52,7 @@ function admin_arrive()
', [time(), $user_id]);
engelsystem_log('User set has arrived: ' . User_Nick_render($user_source));
success(__('Angel has been marked as arrived.'));
- redirect(user_link($user_source));
+ redirect(user_link($user_source['UID']));
} else {
$msg = error(__('Angel not found.'), true);
}
diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php
index 2ef48eb7..b4dd9c1b 100644
--- a/includes/pages/admin_user.php
+++ b/includes/pages/admin_user.php
@@ -165,7 +165,7 @@ function admin_user()
}
$html .= buttons([
- button(user_delete_link($user_source), glyph('lock') . __('delete'), 'btn-danger')
+ button(user_delete_link($user_source['UID']), glyph('lock') . __('delete'), 'btn-danger')
]);
$html .= "<hr />";