]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
Continued a bit:
[mailer.git] / inc / config-functions.php
index 03ad13e7acb138763561b1b752ed33c0716a5499..825faea0d883e6fa11593a19de0ac1919229ae31 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Konfigurationsfunktionen                         *
  * -------------------------------------------------------------------- *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Konfigurationsfunktionen                         *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -305,7 +300,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
                        // Update mode set?
                        if (!empty($updateMode)) {
                                // Update entry
                        // Update mode set?
                        if (!empty($updateMode)) {
                                // Update entry
-                               $SQL .= sprintf("`%s`=`%s`%s%01.5f,", $entry, $entry, $updateMode, (float) $values[$idx]);
+                               $SQL .= sprintf('`%s`=`%s`%s%01.5f,', $entry, $entry, $updateMode, (float) $values[$idx]);
                        } else {
                                // Check if string or number but no array
                                if (is_array($values[$idx])) {
                        } else {
                                // Check if string or number but no array
                                if (is_array($values[$idx])) {
@@ -352,7 +347,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
                // Is the value zero?
                if ($values == '0') {
                        // Then skip it
                // Is the value zero?
                if ($values == '0') {
                        // Then skip it
-                       continue;
+                       return;
                } // END - if
 
                // Update mode set
                } // END - if
 
                // Update mode set