X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig-functions.php;h=656501db5dfb622dc588bc129619bb5e0c825919;hb=2ab3b42f2f6e10d1969f05ddf846858b77cf7e74;hp=609e5c06f99554ad00c053025229ed6c821f5d39;hpb=aaf81b8f35512782d34f78c1a0dac8b42d745393;p=mailer.git
diff --git a/inc/config-functions.php b/inc/config-functions.php
index 609e5c06f9..656501db5d 100644
--- a/inc/config-functions.php
+++ b/inc/config-functions.php
@@ -1,7 +1,7 @@
'.print_r($values[$idx], true).'');
+ } elseif (($values[$idx] + 0) === $values[$idx]) {
// Number detected
$all .= sprintf("`%s`=%s,", $entry, (float)$values[$idx]);
@@ -346,10 +349,10 @@ function updateConfiguration ($entries, $values, $updateMode='', $config = '0')
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, "entries={$entries}");
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_config` SET ".$entries." WHERE `config`=%s LIMIT 1",
array(bigintval($config)), __FUNCTION__, __LINE__);
- //* DEBUG: */ outputHtml(__FUNCTION__."(".__LINE__."):entries={$entries},affectedRows={$affectedRows}
");
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, "entries={$entries},affectedRows={$affectedRows}
");
// Rebuild cache
- rebuildCacheFile('config', 'config');
+ rebuildCache('config', 'config');
}
// Filter for loading configuration