mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
Fix displaying wrong number of deleted logs from accesslog in the message bar.
This commit is contained in:
parent
eb7cccf775
commit
4a3563ee65
@ -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