X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-updates.php;h=2c666437b1bf2ac47fe780b182f5210ab7327102;hb=3af8b17c962e094e3eaffbd6d111290cdb286c92;hp=eb2237bdf214a4e039c25fce44d29fa2410dd6b5;hpb=fb7120ffa230b62b54895bcf95952e1cf30f8594;p=mailer.git diff --git a/inc/modules/admin/what-updates.php b/inc/modules/admin/what-updates.php index eb2237bdf2..2c666437b1 100644 --- a/inc/modules/admin/what-updates.php +++ b/inc/modules/admin/what-updates.php @@ -90,7 +90,7 @@ if (empty($response[0]) && empty($response[1]) && empty($response[2]) && empty($ if (($response[3] != "[EOF]") && ($ONLINE['version'] == constant('FULL_VERSION'))) { // We have found new patches (newer than FULL_VERSION) - $max = str_replace("\n", "", $response[count($response) - 2]); $TOTAL_SIZE = 0; + $max = str_replace("\n", "", $response[count($response) - 2]); $totalSize = 0; // Maximum of available pacthes extracted (above). Now we can get all informations for ($idx = 0; $idx < $max; $idx++) { @@ -110,7 +110,7 @@ if (empty($response[0]) && empty($response[1]) && empty($response[2]) && empty($ } // Add patch's size to total - $TOTAL_SIZE += $PATCHES['fsize'][$idx]; + $totalSize += $PATCHES['fsize'][$idx]; } }