From: Michael M Slusarz Date: Tue, 6 Jan 2009 19:14:47 +0000 (-0700) Subject: Fix queryModuleName(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=262ced54a8bcaf4817eed9485f3616c56d7d119b;p=horde.git Fix queryModuleName(). --- diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 961167b17..1d787b8a9 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -406,7 +406,9 @@ class Horde_Vcs_File_git extends Horde_Vcs_File */ public function queryModulePath() { - return $this->name; + return ($this->dir == '.') + ? $this->name + : $this->dir . '/' . $this->name; } }