Operator: Make sure we have a copy of the Application object
authorBen Klang <ben@alkaloid.net>
Tue, 26 Jan 2010 20:25:33 +0000 (15:25 -0500)
committerBen Klang <ben@alkaloid.net>
Tue, 26 Jan 2010 20:25:33 +0000 (15:25 -0500)
operator/export.php
operator/graphgen.php
operator/search.php

index 7ea3e83..2e74ee2 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 require_once dirname(__FILE__) . '/lib/Application.php';
-Horde_Registry::appInit('operator');
+$operator = Horde_Registry::appInit('operator');
 
 require_once OPERATOR_BASE . '/lib/Form/SearchCDR.php';
 
index 870f88f..72d71cf 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 require_once dirname(__FILE__) . '/lib/Application.php';
-Horde_Registry::appInit('operator');
+$operator = Horde_Registry::appInit('operator');
 
 $cache = &$GLOBALS['cache'];
 
index 00d47cd..3b3f648 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 require_once dirname(__FILE__) . '/lib/Application.php';
-Horde_Registry::appInit('operator');
+$operator = Horde_Registry::appInit('operator');
 
 require_once OPERATOR_BASE . '/lib/Form/SearchCDR.php';