1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

AdminUI: Display ID number in create/update message.

This commit is contained in:
Cameron
2020-07-23 11:38:23 -07:00
parent aee67c1399
commit 24087bde29

View File

@@ -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;
}