Fix default message for ambiguous hash exception
Fix default message for ambiguous hash exception

--- a/include/exception/AmbiguousHashException.class.php
+++ b/include/exception/AmbiguousHashException.class.php
@@ -27,7 +27,7 @@
 	{
 		$this->Hash = $hash;
 		if (empty($message))
-			$message = 'Ambiguous abbreviated hash %1$s';
+			$message = sprintf('Ambiguous abbreviated hash %1$s', $hash);
 		parent::__construct($message, true, 200, $code);
 	}
 }

comments