From: Ben Klang Date: Wed, 30 Dec 2009 20:33:18 +0000 (-0500) Subject: Fix call-time pass by reference X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7fef32e11b8180a4d3d20a9ad2be47f46137230b;p=horde.git Fix call-time pass by reference --- diff --git a/vilma/lib/Vilma.php b/vilma/lib/Vilma.php index 61c32e317..c704599b3 100644 --- a/vilma/lib/Vilma.php +++ b/vilma/lib/Vilma.php @@ -77,7 +77,7 @@ class Vilma { function getUserMgrTabs(&$vars) { $url = Horde::applicationUrl('users/index.php'); - $tabs = &new Horde_Ui_Tabs('section', $vars); + $tabs = new Horde_Ui_Tabs('section', $vars); foreach (Vilma::getUserMgrTypes() as $section => $desc) { $tabs->addTab($desc['plural'], $url, $section); } diff --git a/vilma/lib/base.php b/vilma/lib/base.php index ba9d43c47..34a0c7216 100644 --- a/vilma/lib/base.php +++ b/vilma/lib/base.php @@ -40,7 +40,7 @@ require_once VILMA_BASE . '/lib/Vilma.php'; require_once VILMA_BASE . '/lib/Driver.php'; /* Templates */ -$template = &new Horde_Template(); +$template = new Horde_Template(); /* Notification system. */ $notification = &Horde_Notification::singleton();