mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
Fix #154 : short history of record are missing authors of actions
This commit is contained in:
@@ -375,8 +375,14 @@ class record_preview extends record_adapter
|
||||
$tab[$hour][$site][$action] = array();
|
||||
|
||||
if (!isset($tab[$hour][$site][$action][$row['usr_id']]))
|
||||
{
|
||||
$tab[$hour][$site][$action][$row['usr_id']] =
|
||||
array('final' => array(), 'comment' => array());
|
||||
array(
|
||||
'final' => array()
|
||||
, 'comment' => array()
|
||||
, 'user' => \User_Adapter::getInstance($row['usr_id'], $appbox)
|
||||
);
|
||||
}
|
||||
|
||||
if (!in_array($row['final'], $tab[$hour][$site][$action][$row['usr_id']]['final']))
|
||||
$tab[$hour][$site][$action][$row['usr_id']]['final'][] =
|
||||
|
Reference in New Issue
Block a user