fixed in some update situations called unset_datetime on egw_minimal object

This commit is contained in:
Ralf Becker 2010-09-08 07:45:38 +00:00
parent 577c8926bc
commit f49eaf39ce

View File

@ -405,7 +405,7 @@ class preferences
//echo "<p>".__METHOD__."() tz=$prefs[tz] --> tz_offset={$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']}</p>\n";
// 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
}