Fix call-time pass by reference (E_STRICT)
authorBen Klang <ben@alkaloid.net>
Wed, 30 Dec 2009 19:36:38 +0000 (14:36 -0500)
committerBen Klang <ben@alkaloid.net>
Wed, 30 Dec 2009 19:36:38 +0000 (14:36 -0500)
framework/Cli/lib/Horde/Cli.php

index 845e4b4..71f1070 100644 (file)
@@ -449,7 +449,7 @@ class Horde_Cli
     {
         /* Run constructor now because it requires $_SERVER['SERVER_NAME'] to
          * be empty if called with a CGI SAPI. */
-        $cli = &self::singleton();
+        $cli = self::singleton();
 
         @set_time_limit(0);
         ob_implicit_flush(true);