From: Michael J. Rubinsky Date: Mon, 11 Oct 2010 00:40:42 +0000 (-0400) Subject: Ensure that the files array is initialized X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8bf9dfab7da9f4867dce86a8734601422d90fad8;p=horde.git Ensure that the files array is initialized --- diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index ca5ed0e7f..1930e3e0f 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -752,6 +752,7 @@ class Horde_Vcs_Log_Git extends Horde_Vcs_Log */ public function getHashForPath($path) { + $this->_ensureInitialized(); return $this->_files[$path]['dstSha1']; }