]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-updates.php
Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / modules / admin / what-updates.php
index eb2237bdf214a4e039c25fce44d29fa2410dd6b5..2c666437b1bf2ac47fe780b182f5210ab7327102 100644 (file)
@@ -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];
                                }
                        }