mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
"can NOT call methods of common class static in 1.6 (available in trunk)"
This commit is contained in:
parent
dbcd815fb5
commit
da7f122896
@ -117,7 +117,7 @@ class addressbook_merge // extends bo_merge
|
||||
switch($field['type'])
|
||||
{
|
||||
case 'select-account':
|
||||
if ($value) $value = common::grab_owner_name($value);
|
||||
if ($value) $value = $GLOBALS['egw']->common->grab_owner_name($value);
|
||||
break;
|
||||
|
||||
case 'select':
|
||||
@ -139,8 +139,8 @@ class addressbook_merge // extends bo_merge
|
||||
{
|
||||
$format = $field['len'] ? $field['len'] : ($field['type'] == 'date' ? 'Y-m-d' : 'Y-m-d H:i:s');
|
||||
$date = array_combine(preg_split('/[\\/. :-]/',$format),preg_split('/[\\/. :-]/',$value));
|
||||
$value = common::dateformatorder($date['Y'],$date['m'],$date['d'],true);
|
||||
if (isset($date['H'])) $value .= ' '.common::formattime($date['H'],$date['i']);
|
||||
$value = $GLOBALS['egw']->common->dateformatorder($date['Y'],$date['m'],$date['d'],true);
|
||||
if (isset($date['H'])) $value .= ' '.$GLOBALS['egw']->common->formattime($date['H'],$date['i']);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user