assign variable
authorChuck Hagenbuch <chuck@horde.org>
Wed, 17 Jun 2009 03:32:22 +0000 (23:32 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 17 Jun 2009 03:32:22 +0000 (23:32 -0400)
framework/Vcs/lib/Horde/Vcs/Git.php

index 0f07467..2299b61 100644 (file)
@@ -99,7 +99,7 @@ class Horde_Vcs_Git extends Horde_Vcs
     public function isFile($where, $branch = null)
     {
         if (!$branch) {
-            $this->getDefaultBranch();
+            $branch = $this->getDefaultBranch();
         }
 
         $where = str_replace($this->sourceroot() . '/', '', $where);