]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-updates.php
Mailer used in many places, we still need a good 'selling' title
[mailer.git] / inc / modules / admin / what-updates.php
index 96de642c722512410e7f0db9eacd441f255c8f22..497430cfa84737245c2aab3a39d7aa6b10f753f7 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 01/16/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 01/16/2004 *
  * ================                             Last change: 05/14/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
@@ -57,7 +57,7 @@ if (empty($response[0]) && empty($response[1]) && empty($response[2]) && empty($
        // Analyse header for response code
        if (eregi('200 OK', $response[0])) {
                // Found, kill header
-               $pos = 0;
+               $pos = '0';
                foreach($response as $k => $v) {
                        $v = trim($v);
                        if (empty($v)) {
@@ -92,7 +92,7 @@ if (empty($ONLINE['version'])) {
        loadTemplate('admin_settings_saved', false, "<div class=\"admin_failed\">{--ADMIN_CANNOT_CHECK_VERSION--} (".$ONLINE['code'].")</div>");
 } elseif (($ONLINE['version'] != getConfig('FULL_VERSION')) || ($ONLINE['revision'] != getConfig('CURR_SVN_REVISION'))) {
        // New full-version available (all previous released patches are included in this version!)
-       $ONLINE['changed'] = generateDateTime($ONLINE['changed'], '2');
+       $ONLINE['changed'] = generateDateTime($ONLINE['changed'], 2);
 
        // Load template
        loadTemplate('admin_update_download', false, $ONLINE);