1
0
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:
CaMer0n
2009-12-24 22:36:34 +00:00
parent b019c110d0
commit 8b55fb138b
2 changed files with 16 additions and 8 deletions

View File

@@ -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();
}