Another problem with the update:
Code:
@@ -632,7 +634,9 @@
#
# If it is partner, then remove all his information
#
- if ($usertype == "B") {
+ if ($usertype == "B" && func_query_first_cell("SELECT COUNT(*) FROM $sql_tbl[modules] WHERE module_name='XAffiliate'") > 0) {
+ if (empty($active_modules["XAffiliate"]))
+ include $xcart_dir."XAffiliate/config.php";
The XAffiliate part should be:
Code:
+ if (!empty($active_modules["XAffiliate"]))
+ include $xcart_dir."/modules/XAffiliate/config.php";