Skip to content

Commit

Permalink
Prefix bei UserSession Tabelle ergänzt (#5543)
Browse files Browse the repository at this point in the history
  • Loading branch information
dergel committed Jan 28, 2023
1 parent 07dba96 commit f1cc9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redaxo/src/core/pages/profile.sessions.php
@@ -1,6 +1,6 @@
<?php

$list = rex_list::factory('Select session_id, ip, useragent, starttime, last_activity from rex_user_session where user_id = '.rex::requireUser()->getId());
$list = rex_list::factory('Select session_id, ip, useragent, starttime, last_activity from ' . rex::getTablePrefix() . 'user_session where user_id = '.rex::requireUser()->getId());

$list->addColumn('remove_session', '<i class="rex-icon rex-icon-delete"></i>', 0, ['<th class="rex-table-icon"></th>', '<td class="rex-table-icon">###VALUE###</td>']);
$list->setColumnParams('remove_session', ['function' => 'remove_session', 'session_id' => '###session_id###']);
Expand Down

0 comments on commit f1cc9ad

Please sign in to comment.