From 574d9cf03ed0a7a9c985c6f470c91e9bcddb9a57 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sat, 13 Jun 2009 00:04:34 -0400 Subject: [PATCH] avoid reference trickery --- framework/Vcs/lib/Horde/Vcs/Git.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 84de64d54..2668fe2e3 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -757,8 +757,6 @@ class Horde_Vcs_Patchset_Git extends Horde_Vcs_Patchset 'members' => array() ); - $ps = &$this->_patchsets[$rev]; - foreach ($log->queryFiles() as $file) { $to = $rev; $status = 0; @@ -779,7 +777,7 @@ class Horde_Vcs_Patchset_Git extends Horde_Vcs_Patchset break; } - $ps['members'][] = array( + $this->_patchsets[$rev]['members'][] = array( 'file' => $file['srcPath'], 'from' => $from, 'status' => $status, -- 2.11.0