Browse Source

correct static method definition

euromark 12 years ago
parent
commit
ee5732db81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Lib/Utility/NumberLib.php

+ 1 - 1
Lib/Utility/NumberLib.php

@@ -330,7 +330,7 @@ class NumberLib extends CakeNumber {
 	 * @param string $formatName (EUR, ...)
 	 * @return array $currencySettings or null on failure
 	 */
-	public function getFormat($formatName) {
+	public static function getFormat($formatName) {
 		if (!isset(self::$_currencies[$formatName])) {
 			return null;
 		}