Fixes for 'Can't use function return value in write context in /foo/bar.php'
[mailer.git] / inc / libs / yoomedia_functions.php
index 22a0fb9c6b63581017352520582112903acf56f4..327d83bc8ef5cfab9db34f1cb644db387a69007f 100644 (file)
@@ -51,11 +51,11 @@ function YOOMEDIA_TEST_CONFIG ($data) {
        $_CONFIG = merge_array($_CONFIG, $data);
 
        // Temporary allow maximum
-       getConfig('yoomedia_tm_max_reload')    = 1000;
-       getConfig('yoomedia_tm_min_wait')      = 0;
-       getConfig('yoomedia_tm_clicks_remain') = 10;
-       getConfig('yoomedia_tm_min_pay')       = 0;
-       getConfig('yoomedia_erotic_allowed')   = 1;
+       $_CONFIG['yoomedia_tm_max_reload']    = 1000;
+       $_CONFIG['yoomedia_tm_min_wait']      = 0;
+       $_CONFIG['yoomedia_tm_clicks_remain'] = 10;
+       $_CONFIG['yoomedia_tm_min_pay']       = 0;
+       $_CONFIG['yoomedia_erotic_allowed']   = 1;
 
        // Query the API with a test request without couting it
        // If zero reply comes back the data is invalid!