Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2022-06-28T18:51:03+02:00
Commit: https://github.com/php/web-php/commit/c73856319cf0f1f7ca75b08e12986f79ea42de2b Raw diff: https://github.com/php/web-php/commit/c73856319cf0f1f7ca75b08e12986f79ea42de2b.diff Remove arguments identical to default values of parameters Closes GH-583. Changed paths: M include/layout.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index 409f475a8..6561838da 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -220,9 +220,9 @@ function download_link($file, $title) if ($size) { echo ' ['; if ($size < 1024) { - echo number_format($size, 0, '.', ',') . 'b'; + echo number_format($size) . 'b'; } else { - echo number_format($size/1024, 0, '.', ',') . 'Kb'; + echo number_format($size/1024) . 'Kb'; } echo ']'; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php