Assign to variable.
authorJan Schneider <jan@horde.org>
Fri, 13 Aug 2010 13:02:25 +0000 (13:02 +0000)
committerJan Schneider <jan@horde.org>
Fri, 13 Aug 2010 13:02:25 +0000 (13:02 +0000)
whups/view.php

index af134e3..428e1a1 100644 (file)
@@ -38,7 +38,7 @@ if (!count(Whups::permissionsFilter($whups_driver->getHistory($id), 'comment', H
 }
 
 try {
-    $injector->getInstance('Horde_Vfs')->getVfs();
+    $vfs = $injector->getInstance('Horde_Vfs')->getVfs();
 } catch (Horde_Exception $e) {
     throw new Horde_Exception(_("The VFS backend needs to be configured to enable attachment uploads."));
 }