Fix variable name.
authorJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 13:54:51 +0000 (15:54 +0200)
committerJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 13:54:51 +0000 (15:54 +0200)
framework/Vcs/lib/Horde/Vcs/Git.php

index 17da11b..2190bb3 100644 (file)
@@ -787,7 +787,7 @@ class Horde_Vcs_Patchset_Git extends Horde_Vcs_Patchset
         $revs = array();
 
         if (isset($opts['file'])) {
-            $ob = $rep->getFileObject($file);
+            $ob = $rep->getFileObject($opts['file']);
             $revs = $ob->queryLogs();
         } elseif (!empty($opts['range'])) {
             foreach ($opts['range'] as $val) {