mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
only update the modified field on update
This commit is contained in:
1 parent
55347521e4
commit
8596eaddd0
1 file changed
+1
-1
@@ -583,7 +583,7 @@ abstract class PFAHandler {
|
||||
if ($this->new) {
|
||||
$result = db_insert($this->db_table, $db_values, array('created', 'modified'),true);
|
||||
} else {
|
||||
$result = db_update($this->db_table, $this->id_field, $this->id, $db_values, array('created', 'modified'), true);
|
||||
$result = db_update($this->db_table, $this->id_field, $this->id, $db_values, array('modified'), true);
|
||||
}
|
||||
} catch (PDOException $e) {
|
||||
$this->errormsg[] = Config::lang_f($this->msg['store_error'], $this->label);
|
||||
|
||||
Reference in new issue
Block a user