forked from mirrors/easyappointments
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