forked from extern/egroupware
fixed in some update situations called unset_datetime on egw_minimal object
This commit is contained in:
parent
577c8926bc
commit
f49eaf39ce
@ -405,7 +405,7 @@ class preferences
|
|||||||
//echo "<p>".__METHOD__."() tz=$prefs[tz] --> tz_offset={$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']}</p>\n";
|
//echo "<p>".__METHOD__."() tz=$prefs[tz] --> tz_offset={$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']}</p>\n";
|
||||||
|
|
||||||
// ToDo: get rid of that
|
// ToDo: get rid of that
|
||||||
if (isset($GLOBALS['egw']) && is_object($GLOBALS['egw']))
|
if (isset($GLOBALS['egw']) && is_a($GLOBALS['egw'],'egw'))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->unset_datetime(); // to force an update
|
$GLOBALS['egw']->unset_datetime(); // to force an update
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user