forked from extern/egroupware
Fix displaying wrong number of deleted logs from accesslog in the message bar.
This commit is contained in:
parent
e90a6e1d42
commit
014d5cd416
@ -181,9 +181,10 @@ class admin_accesslog
|
||||
unset($content['delete']);
|
||||
$sessionid = $content['nm']['rows']['selected'];
|
||||
}
|
||||
if ($sessionid && $this->so->delete(array('sessionid' => $sessionid)))
|
||||
$del_msg= $this->so->delete(array('sessionid' => $sessionid));
|
||||
if ($sessionid && $del_msg)
|
||||
{
|
||||
$msg = lang('%1 log entries deleted.',1);
|
||||
$msg = lang('%1 log entries deleted.',$del_msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user