mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
do not output info if no user is selected
This commit is contained in:
parent
0ae71871ef
commit
8256b61e36
|
@ -36,6 +36,7 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
|||
$seluser = $this->params['seluser'];
|
||||
$quota = $this->params['quota'];
|
||||
|
||||
if($seluser) {
|
||||
$sessionmgr = new SeedDMS_SessionMgr($dms->getDB());
|
||||
|
||||
$this->contentHeading(getMLText("user_info"));
|
||||
|
@ -53,6 +54,7 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
|||
echo "<tr><td>".getMLText('lastaccess')."</td><td>".getLongReadableDate($session->getLastAccess())."</td></tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function form() { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user