mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02: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);
|
$row_template->run('set_row_value', array('',array('row' => 1), &$_row), true);
|
||||||
$result['data'][$id] = $row;
|
$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
|
// Fallback based on widget names
|
||||||
error_log(self::$request->template['name'] . ' had to fallback to run_beforeSendToClient() because it could not find the row' );
|
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);
|
$result['data'][$id] = self::run_beforeSendToClient($row);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$result['data'][$id] = $row;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($kUkey !== false) unset($knownUids[$kUkey]);
|
if ($kUkey !== false) unset($knownUids[$kUkey]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user