Fixes for 'Can't use function return value in write context in /foo/bar.php'
[mailer.git] / inc / modules / member / what-points.php
index 642ae6b9cca06e05a3c18dced8376486f394850b..cdf9dcbd77bf0a704156e751dafa41fb10ff920f 100644 (file)
@@ -137,7 +137,7 @@ define('__TREF_VALUE' , $TREF);
 define('__TLOCK_VALUE', TRANSLATE_COMMA($TLOCK));
 
 // Fixes a bug when there is no bonus extension installed
-if (EXT_VERSION_IS_OLDER("bonus", "0.4.4")) getConfig('bonus_active') = "X";
+if (EXT_VERSION_IS_OLDER("bonus", "0.4.4")) $_CONFIG['bonus_active'] = "X";
 
 // Display login bonus and turbo-click bonus
 if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (EXT_IS_ACTIVE("bonus")) && (getConfig('bonus_active') == "Y")) {