Support » Plugin: MimeTypes Link Icons » [Plugin: MimeTypes Link Icons] Small error!

  • Resolved pdecaux


    I noticed a small typo in the ‘nice size’ function:

    elseif uses $byes instead of $bytes

    function mtli_return_nice_size($bytes){
    		return $bytes.'b';
    	} elseif($byes<1048576){
    		return number_format(($bytes/1024),2).'Kb';
    	} elseif($bytes<1073741824){
    		return number_format(($bytes/1048576),2).'Mb';
    	} else {
    		return number_format(($bytes/1073741824),2).'Gb';

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: MimeTypes Link Icons] Small error!’ is closed to new replies.