hopefully the last xmlrpc fix

This commit is contained in:
Ralf Becker 2004-03-14 12:07:02 +00:00
parent 74fe998db9
commit 373864f6fe

View File

@ -281,7 +281,7 @@
if (isset($data['bday'])) if (isset($data['bday']))
{ {
$arr = $GLOBALS['server']->iso86012date($data['bday']); $arr = $GLOBALS['server']->iso86012date($data['bday']);
$data['bday'] = $y && $m && $d ? sprintf('%d/%02d/%04d',$arr['month'],$arr['mday'],$arr['year']) : ''; $data['bday'] = $arr['year'] && $arr['month'] && $arr['mday'] ? sprintf('%d/%02d/%04d',$arr['month'],$arr['mday'],$arr['year']) : '';
} }
if (isset($data['last_mod'])) if (isset($data['last_mod']))
{ {