From 24087bde2928f0876d255d01b664fd052c59d1da Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 23 Jul 2020 11:38:23 -0700 Subject: [PATCH] AdminUI: Display ID number in create/update message. --- e107_handlers/model_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/model_class.php b/e107_handlers/model_class.php index ea99d50a3..17eac644e 100755 --- a/e107_handlers/model_class.php +++ b/e107_handlers/model_class.php @@ -2840,7 +2840,7 @@ class e_front_model extends e_model return 0; } - $this->clearCache()->addMessageSuccess(LAN_UPDATED); + $this->clearCache()->addMessageSuccess(LAN_UPDATED. " #".$this->getId()); e107::getAdminLog()->addSuccess('TABLE: '.$table, false); e107::getAdminLog()->addSuccess('WHERE: '.$qry['WHERE'], false); @@ -3044,7 +3044,7 @@ class e_admin_model extends e_front_model // Set the reutrned ID $this->setId($res); - $this->clearCache()->addMessageSuccess(LAN_CREATED); + $this->clearCache()->addMessageSuccess(LAN_CREATED. " #".$this->getId()); return $res; }