mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-15 18:38:57 +01:00
so_sql::init() returns now $this->data as eg. so_sql::read()
This commit is contained in:
parent
6387f19cae
commit
e64e3e06b1
@ -258,6 +258,7 @@ class so_sql
|
||||
* initializes data with the content of key
|
||||
*
|
||||
* @param array $keys array with keys in form internalName => value
|
||||
* @return array internal data after init
|
||||
*/
|
||||
function init($keys=array())
|
||||
{
|
||||
@ -266,6 +267,8 @@ class so_sql
|
||||
$this->db2data();
|
||||
|
||||
$this->data_merge($keys);
|
||||
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user