mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
an other fix for ADOdb, set Record to empty, if a query returns no row
This commit is contained in:
parent
9384c24217
commit
f2b0ca5d6d
@ -349,11 +349,12 @@
|
||||
}
|
||||
++$this->Row;
|
||||
|
||||
if ($this->Query_ID->EOF || !$this->Query_ID->RecordCount())
|
||||
$this->Record = $this->Query_ID->fields;
|
||||
|
||||
if ($this->Query_ID->EOF || !$this->Query_ID->RecordCount() || !is_array($this->Record))
|
||||
{
|
||||
return False;
|
||||
}
|
||||
$this->Record = $this->Query_ID->fields;
|
||||
|
||||
return True;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user