From 93dd954ec7e1e4edbb242aee80a1e2e19475d62d Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Tue, 16 Jun 2009 23:32:22 -0400 Subject: [PATCH] assign variable --- framework/Vcs/lib/Horde/Vcs/Git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 0f074677e..2299b6110 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -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); -- 2.11.0