carlos1968
Karma: 0
|
Re:Problem Submitdate - 2010/08/15 18:40
I find it already now.
Here is the Part need to change, looks like a Bug i dont know.
remository.class
| Code: | [/coforeach (get_class_vars(get_class($this)) as $field=>$value) {
if (!in_array($field,$exclude)) {
$data = is_numeric($this->$field) ? $this->$field : $interface->getEscaped($this->$field);
// Timestamp Feld auf Inhalt prüfen falls Null dann Datum einfügen
if ($this->timeStampField()==$field AND $data<1) $data= date('Y-m-d H:i:s');
$item[] = $field."='".$data."'";
}
}
if (isset($item))
{
$sql .= implode (', ', $item);
}
return $sql.' WHERE
id='.$this->id;
de]
|
With this code the Submitdate will only change if there no Data submitted.
Post edited by: carlos1968, at: 2010/08/15 18:42
|