fix for addressbook hook_home problem; birthdays where not displayed correctly anymore in home view

This commit is contained in:
Klaus Leithoff 2010-02-16 10:42:27 +00:00
parent 8d0c656df8
commit ea5535284f

View File

@ -146,8 +146,7 @@ class addressbook_bo extends addressbook_so
function __construct($contact_app='addressbook') function __construct($contact_app='addressbook')
{ {
parent::__construct($contact_app); parent::__construct($contact_app);
$this->now_su = egw_time::to('now','ts');
$this->now_su = new egw_time('now');
$this->prefs =& $GLOBALS['egw_info']['user']['preferences']['addressbook']; $this->prefs =& $GLOBALS['egw_info']['user']['preferences']['addressbook'];
// get the default addressbook from the users prefs // get the default addressbook from the users prefs