mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 23:11:57 +01:00
ignoring non-row data set by get_rows method, when querying state on uids known to client: fixes illegal string offset in line 285
This commit is contained in:
parent
a14d6d9bb4
commit
83b7a980b7
@ -277,8 +277,10 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
$rows = array();
|
||||
if (self::call_get_rows($value, $rows))
|
||||
{
|
||||
foreach($rows as $row)
|
||||
foreach($rows as $n => $row)
|
||||
{
|
||||
if (!is_int($n)) continue; // ignore non-row data set by get_rows method
|
||||
|
||||
if (!$row_modified || !isset($row[$row_modified]) ||
|
||||
!isset($lastModified) || $row[$row_modified] > $lastModified)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user