Don't completely replace parent GetHash, override and call base
Don't completely replace parent GetHash, override and call base

--- a/include/git/Ref.class.php
+++ b/include/git/Ref.class.php
@@ -75,7 +75,7 @@
 		if (empty($this->hash))
 			$this->FindHash();
 
-		return $this->hash;
+		return parent::GetHash();
 	}
 
 	/**

comments