mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Fix bad logic breaking historylog
This commit is contained in:
parent
b88102618b
commit
26261e080d
@ -398,12 +398,16 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
$row_template->run('set_row_value', array('',array('row' => 1), &$_row), true);
|
||||
$result['data'][$id] = $row;
|
||||
}
|
||||
else if (!$template && !get_class($template) != 'etemplate_widget_historylog')
|
||||
else if (!$template || get_class($template) != 'etemplate_widget_historylog')
|
||||
{
|
||||
// Fallback based on widget names
|
||||
error_log(self::$request->template['name'] . ' had to fallback to run_beforeSendToClient() because it could not find the row' );
|
||||
$result['data'][$id] = self::run_beforeSendToClient($row);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result['data'][$id] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
if ($kUkey !== false) unset($knownUids[$kUkey]);
|
||||
|
Loading…
Reference in New Issue
Block a user