]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
Cache path changed and compileRawCode() introduced
[mailer.git] / inc / config-functions.php
index 3b9b1759ffbf2fb99484f5e452536454a697a10f..cda835e7752a9f1ae7ca72392600dc3e5a721e6f 100644 (file)
@@ -109,7 +109,7 @@ function mergeConfig ($newConfig) {
 // Increment or init with given value or 1 as default the given config entry
 function incrementConfigEntry ($configEntry, $value=1) {
        // Increment it if set or init it with 1
-       if (getConfig($configEntry) > 0) {
+       if (isConfigEntrySet($configEntry)) {
                $GLOBALS['config'][$configEntry] += $value;
        } else {
                $GLOBALS['config'][$configEntry] = $value;