X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fconfig-functions.php;h=825faea0d883e6fa11593a19de0ac1919229ae31;hp=03ad13e7acb138763561b1b752ed33c0716a5499;hb=6dcb879ba3abb21843503cacc65d1fe0848eb90f;hpb=8cab12aa2bd0bd1de03a377b37cd42faae64b0e1 diff --git a/inc/config-functions.php b/inc/config-functions.php index 03ad13e7ac..825faea0d8 100644 --- a/inc/config-functions.php +++ b/inc/config-functions.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Konfigurationsfunktionen * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * 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 * @@ -305,7 +300,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0' // 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])) { @@ -352,7 +347,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0' // Is the value zero? if ($values == '0') { // Then skip it - continue; + return; } // END - if // Update mode set