fixed a bug of dstoring a wrong value into the createdon field
This commit is contained in:
parent
316aa08bff
commit
c9cb19ae17
@ -43,7 +43,7 @@ class FileModel extends Model
|
|||||||
$this->db->set ('summary', $file->summary);
|
$this->db->set ('summary', $file->summary);
|
||||||
$this->db->set ('md5sum', $file->md5sum);
|
$this->db->set ('md5sum', $file->md5sum);
|
||||||
$this->db->set ('description', $file->description);
|
$this->db->set ('description', $file->description);
|
||||||
$this->db->set ('createdon', $userid);
|
$this->db->set ('createdon', date('Y-m-d H:i:s'));
|
||||||
$this->db->set ('createdby', $userid);
|
$this->db->set ('createdby', $userid);
|
||||||
$this->db->set ('updatedon', date('Y-m-d H:i:s'));
|
$this->db->set ('updatedon', date('Y-m-d H:i:s'));
|
||||||
$this->db->set ('updatedby', $userid);
|
$this->db->set ('updatedby', $userid);
|
||||||
|
@ -117,7 +117,7 @@ $this->load->view (
|
|||||||
<div id="file_show_mainarea_result_info">
|
<div id="file_show_mainarea_result_info">
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><?=$this->lang->line('Created on')?> <?= $file->updatedon ?></li>
|
<li><?=$this->lang->line('Created on')?> <?= $file->createdon ?></li>
|
||||||
<li><?=$this->lang->line('Created by')?> <?= $file->createdby ?></li>
|
<li><?=$this->lang->line('Created by')?> <?= $file->createdby ?></li>
|
||||||
<li><?=$this->lang->line('Last updated on')?> <?= $file->updatedon ?></li>
|
<li><?=$this->lang->line('Last updated on')?> <?= $file->updatedon ?></li>
|
||||||
<li><?=$this->lang->line('Last updated by')?> <?= $file->updatedby ?></li>
|
<li><?=$this->lang->line('Last updated by')?> <?= $file->updatedby ?></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user