mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
fixed sometimes not working save, as whole content is used for so_sql::read()
This commit is contained in:
parent
f530964d98
commit
a234addda6
@ -170,7 +170,7 @@ class emailadmin_bo extends so_sql
|
||||
function save()
|
||||
{
|
||||
$content = $this->data;
|
||||
$old = $this->read($content);
|
||||
if ($content['ea_profile_id']) $old = $this->read(array('ea_profile_id' => $content['ea_profile_id']));
|
||||
$this->data = $content;
|
||||
if ((!isset($this->data['ea_appname']) || empty($this->data['ea_appname']) ) &&
|
||||
(!isset($this->data['ea_group']) || empty($this->data['ea_group']) ) &&
|
||||
|
Loading…
Reference in New Issue
Block a user