X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fconfig-functions.php;h=bc3eea007071a28706792fa977eac94d557114af;hp=609e5c06f99554ad00c053025229ed6c821f5d39;hb=25b4a580b4c7e0d429eb8e436785d3c2ef304f8e;hpb=aaf81b8f35512782d34f78c1a0dac8b42d745393 diff --git a/inc/config-functions.php b/inc/config-functions.php index 609e5c06f9..bc3eea0070 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 +350,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