diff --git a/emailadmin/inc/class.emailadmin_bo.inc.php b/emailadmin/inc/class.emailadmin_bo.inc.php index 597f4e4c1e..83e6644b25 100644 --- a/emailadmin/inc/class.emailadmin_bo.inc.php +++ b/emailadmin/inc/class.emailadmin_bo.inc.php @@ -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']) ) &&