[eluser]Mirage[/eluser]
<b>Possible bug with created_field<b>
I have a table with the 'created' and 'updated' columns. DMZ (1.5.2) appears to be updating both columns with the current timestamp. Do I need to literally submit the created timestamp when updating existing records?
Code:
// Example sippet
$q = new Sae_Question();
$q->load_extension(array('htmlform','array'));
if ($_SERVER['REQUEST_METHOD']=='POST') {
$seq=new Sae_Question();
$seq->where('exam_id', $_POST['exam_id']);
$seq->select_max('seq');