From: Chuck Hagenbuch Date: Thu, 12 Mar 2009 17:32:52 +0000 (-0400) Subject: must be a string for Exceptions X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1c5a8cd4c9005b91b698e2b728293cc29f48dc57;p=horde.git must be a string for Exceptions --- diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 04d2d90dd..7338c727c 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -368,7 +368,7 @@ class Horde_Vcs_File_Git extends Horde_Vcs_File $cmd = $rep->getCommand() . ' rev-list --branches -- ' . escapeshellarg($this->queryModulePath()) . ' 2>&1'; exec($cmd, $revs); if (stripos($revs[0], 'fatal') === 0) { - throw new Horde_Vcs_Exception($revs); + throw new Horde_Vcs_Exception(implode(', ', $revs)); } $this->_revs = $revs;