Ignore:
Timestamp:
03/08/10 23:11:51 (10 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager] Pre-2.14.0 merged from trunk to branch 2.14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.14/maintain.inc.php

    r5065 r5087  
    280280function upgrade_213() 
    281281{ 
    282   $data = explode(';', $conf['nbc_UserAdvManager']); 
     282        global $conf; 
     283   
     284  $conf_UAM = explode(';', $conf['nbc_UserAdvManager']); 
     285 
     286  $upgrade_UAM = array($conf_UAM[0],$conf_UAM[1],$conf_UAM[2],$conf_UAM[3],$conf_UAM[4],$conf_UAM[5],$conf_UAM[6],$conf_UAM[7],$conf_UAM[8],$conf_UAM[9],$conf_UAM[10],$conf_UAM[11],$conf_UAM[12],$conf_UAM[13],$conf_UAM[14],$conf_UAM[15],$conf_UAM[16],$conf_UAM[17],$conf_UAM[18],$conf_UAM[19],$conf_UAM[20],'false'); 
    283287 
    284288  $query = ' 
    285289UPDATE '.CONFIG_TABLE.' 
    286   SET value = "'.addslashes(serialize($data)).'" 
     290  SET value = "'.addslashes(serialize($upgrade_UAM)).'" 
    287291  WHERE param = "nbc_UserAdvManager" 
    288292;'; 
Note: See TracChangeset for help on using the changeset viewer.