From c324275b1d411fbf4ff5b6b9bf602a88e35732ef Mon Sep 17 00:00:00 2001 From: Ralf Becker <ralfbecker@outdoor-training.de> Date: Wed, 19 Aug 2009 11:58:43 +0000 Subject: [PATCH] docu update and remove decriated assignment of objects by reference --- etemplate/inc/class.date_widget.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.date_widget.inc.php b/etemplate/inc/class.date_widget.inc.php index 5e1663c4ab..4d3105a530 100644 --- a/etemplate/inc/class.date_widget.inc.php +++ b/etemplate/inc/class.date_widget.inc.php @@ -52,6 +52,13 @@ class date_widget var $dateformat; // eg. Y-m-d, d-M-Y var $timeformat; // 12 or 24 + /** + * Reference to global jscalencar object + * + * @var jscalendar + */ + var $jscal; + /** * Constructor of the extension * @@ -61,7 +68,7 @@ class date_widget { if ($ui == 'html') { - $this->jscal =& $GLOBALS['egw']->jscalendar; + $this->jscal = $GLOBALS['egw']->jscalendar; } $this->timeformat = $GLOBALS['egw_info']['user']['preferences']['common']['timeformat']; $this->dateformat = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat'];