Change how VFS::read() is called to match the function definition
authorChuck Hagenbuch <chuck@horde.org>
Sun, 1 Nov 2009 02:07:45 +0000 (22:07 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 1 Nov 2009 02:07:45 +0000 (22:07 -0400)
Bug: #8670

ingo/lib/Driver/Vfs.php

index 5e33423..9c0973d 100644 (file)
@@ -99,7 +99,7 @@ class Ingo_Driver_Vfs extends Ingo_Driver
         if (is_a($result, 'PEAR_Error')) {
             return $result;
         }
-        return $this->_vfs->read('', $this->_params['vfs_path'] . '/' . $this->_params['filename']);
+        return $this->_vfs->read($this->_params['vfs_path'], $this->_params['filename']);
     }
 
     /**