#91 Actually store the actual timestamp from the date entered
This commit is contained in:
parent
5941bf7e35
commit
e1880316d7
@ -95,10 +95,8 @@ foreach ($hesk_settings['custom_fields'] as $k=>$v)
|
|||||||
// Date will be handled by the jQuery datepicker
|
// Date will be handled by the jQuery datepicker
|
||||||
if( $v['type'] == 'date' && $_POST[$k] != '')
|
if( $v['type'] == 'date' && $_POST[$k] != '')
|
||||||
{
|
{
|
||||||
$tmpvar[$k] = hesk_dateToString($_POST[$k]);
|
$tmpvar[$k] = hesk_date($_POST[$k]);
|
||||||
}
|
} else if (is_array($_POST[$k]))
|
||||||
|
|
||||||
if (is_array($_POST[$k]))
|
|
||||||
{
|
{
|
||||||
$tmpvar[$k]='';
|
$tmpvar[$k]='';
|
||||||
foreach ($_POST[$k] as $myCB)
|
foreach ($_POST[$k] as $myCB)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user