View Single Post
  #10  
Old 08-01-2004, 09:42 PM
 
pmstudios pmstudios is offline
 

Senior Member
  
Join Date: May 2004
Posts: 133
 

Default

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";
__________________
X-Cart 4.0.5
MySQL: 3.23.58
PHP 4.3.2
Reply With Quote