Make sure argument of Util::fillString is string
							parent
							
								
									9483889e55
								
							
						
					
					
						commit
						5274f306e3
					
				|  | @ -9,6 +9,10 @@ class Util | |||
| { | ||||
|     public static function fillString($string, $targetlength) | ||||
|     { | ||||
|         if (gettype($string) != 'string') { | ||||
|             $string = strval($string); | ||||
|         } | ||||
| 
 | ||||
|         while(strlen($string) < $targetlength) | ||||
|         { | ||||
|             $string = "0".$string; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Anonymous Contributor
						Anonymous Contributor