From: Chuck Hagenbuch Date: Sat, 21 Nov 2009 01:10:48 +0000 (-0500) Subject: public X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=271e340f5d660e719233a019f70d8925b5b96d00;p=horde.git public --- diff --git a/ansel/lib/Widget.php b/ansel/lib/Widget.php index 1e0c11a2f..d44de6a74 100644 --- a/ansel/lib/Widget.php +++ b/ansel/lib/Widget.php @@ -21,7 +21,7 @@ class Ansel_Widget * * @return mixed Ansel_Widget object | PEAR_Error */ - static function factory($driver, $params = array()) + static public function factory($driver, $params = array()) { $driver = basename($driver); $class = 'Ansel_Widget_' . $driver; @@ -31,5 +31,4 @@ class Ansel_Widget throw new Horde_Exception('Class definition of ' . $class . ' not found.'); } - }