From: Alan Date: Fri, 15 Sep 2023 08:05:21 +0000 (+0800) Subject: type on error X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=b9346fd1c04fcb12a1ec03e5fe6ebbcf961ad5e2 type on error --- diff --git a/DataObjects/Core_person.php b/DataObjects/Core_person.php index a6c9b705..4208198e 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -1455,7 +1455,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject $pp = DB_DataObject::factory('core_person'); $pp->whereAdd('LOWER(email) = "' . $pp->escape(strtolower(trim($this->email))) . '"'); if ($pp->count()){ - $roo->jerror("NOTIFY-DUPE-EMAIL", "that email already exists in the database"); + $roo->jerror("NOTICE-DUPE-EMAIL", "that email already exists in the database"); } @@ -1660,7 +1660,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject $pp->whereAdd('LOWER(email) = "' . $pp->escape(strtolower(trim($this->email))) . '"'); $pp->whereAdd('id != ' . $old->id); if ($pp->count()){ - $roo->jerror("NOTIFY-DUPE-EMAIL", "that email already exists in the database"); + $roo->jerror("NOTICE-DUPE-EMAIL", "that email already exists in the database"); } } }