From: Chuck Hagenbuch Date: Wed, 17 Jun 2009 03:32:22 +0000 (-0400) Subject: assign variable X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=93dd954ec7e1e4edbb242aee80a1e2e19475d62d;p=horde.git assign variable --- 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);