mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
The Consents_model.php will set the created and modified time.
This commit is contained in:
parent
13dfc33581
commit
6792e3526e
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ class Consents_model extends CI_Model {
|
|||
protected function _insert($consent)
|
||||
{
|
||||
$consent['created'] = time();
|
||||
$consent['modified'] = time();
|
||||
|
||||
if ( ! $this->db->insert('ea_consents', $consent))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue