X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_check.php;h=42910fe9f970b2dec095d52e09fa4ad757774634;hb=2f312726826db5c4c3363926c743fea3c1c23b34;hp=1a0390d4c545dcea058689e24e6552e5d7947777;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git diff --git a/inc/modules/admin/what-theme_check.php b/inc/modules/admin/what-theme_check.php index 1a0390d4c5..42910fe9f9 100644 --- a/inc/modules/admin/what-theme_check.php +++ b/inc/modules/admin/what-theme_check.php @@ -1,7 +1,7 @@ array(), // File names @@ -69,7 +68,7 @@ if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) { $value = str_replace("\n", '', $value); $ver = ''; // Leave loop when data is invalid or EOF? - if ((substr($value, 0, 6) == "theme-") && (substr($value, -4) == ".zip")) { + if ((substr($value, 0, 6) == 'theme-') && (substr($value, -4) == '.zip')) { // Extract name and version $name = substr($value, 6, -4); $ver = trim(substr($response[$idx + 3], 4)); @@ -117,7 +116,7 @@ if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) { array_pk_sort($themes, array('cver', 'fname'), 0, 1); // Extensions where found which are not downloaded and installed - $OUT = ''; $SW = 2; $totalSize = 0; + $OUT = ''; $SW = 2; $totalSize = '0'; foreach ($themes['fname'] as $idx => $name) { // Prepare data $content = array(