From e34862c03362942ef07eaea312714af67b8bfe73 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 26 Mar 2010 17:28:22 -0400 Subject: [PATCH] Need to make $driver an optional parameter. --- framework/Editor/lib/Horde/Editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Editor/lib/Horde/Editor.php b/framework/Editor/lib/Horde/Editor.php index 7d19e6e76..7b15088e0 100644 --- a/framework/Editor/lib/Horde/Editor.php +++ b/framework/Editor/lib/Horde/Editor.php @@ -39,7 +39,7 @@ class Horde_Editor * @return Horde_Editor The newly created concrete instance. * @throws Horde_Editor_Exception. */ - static public function factory($driver, $params = null) + static public function factory($driver = null, $params = null) { $driver = ucfirst(basename($driver)); if (empty($driver) || (strcmp($driver, 'None') == 0)) { -- 2.11.0