Fix variable name.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 13 Sep 2010 04:07:45 +0000 (22:07 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 13 Sep 2010 05:50:29 +0000 (23:50 -0600)
horde/lib/Ajax/Application.php

index 7bade2e..b6d55f8 100644 (file)
@@ -21,7 +21,7 @@ class Horde_Ajax_Application extends Horde_Core_Ajax_Application
      */
     public function sidebarUpdate()
     {
-        return $sidebar->getInstance('Horde_Core_Sidebar')->getTree()->renderNodeDefinitions();
+        return $GLOBALS['injector']->getInstance('Horde_Core_Sidebar')->getTree()->renderNodeDefinitions();
     }
 
 }