mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 13:52:35 +02:00
datestamp wasn't being converted correctly by admin_ui. Temporary fix. Auto-datestamp now only active when no value is present.
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
* Form Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
||||
* $Revision: 1.103 $
|
||||
* $Date: 2009-12-23 15:12:13 $
|
||||
* $Author: secretr $
|
||||
* $Revision: 1.104 $
|
||||
* $Date: 2009-12-24 22:36:34 $
|
||||
* $Author: e107coders $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -1356,7 +1356,7 @@ class e_form
|
||||
break;
|
||||
|
||||
case 'datestamp':
|
||||
if(vartrue($parms['auto']))
|
||||
if(vartrue($parms['auto']) && ($value == null))
|
||||
{
|
||||
$value = time();
|
||||
}
|
||||
|
Reference in New Issue
Block a user