Changeset 9025


Ignore:
Timestamp:
02/01/11 00:03:08 (9 years ago)
Author:
grum
Message:

release 3.4.2
fix bug on config import when update from 2.x to 3.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_install.class.inc.php

    r9024 r9025  
    252252    private function updateFrom_020200() 
    253253    { 
     254      global $user; 
     255 
    254256      $tables_def=array( 
    255257"CREATE TABLE `".$this->tables['personalised_langs']."` ( 
     
    284286      pwg_query($sql); 
    285287 
    286  
    287       $sql="DELETE FROM `".$this->tables['personalised']."` WHERE lang!='".$user['lang']."';"; 
     288      $sql="DELETE FROM `".$this->tables['personalised']."` WHERE lang!='".$user['language']."';"; 
    288289      pwg_query($sql); 
    289290 
     
    352353        pwg_query("UPDATE ".CONFIG_TABLE." SET value = '".pwg_db_real_escape_string($this->config['amm_old_blk_menubar'])."' WHERE param='blk_menubar';"); 
    353354    } 
    354  
    355  
    356355 
    357356  } //class 
Note: See TracChangeset for help on using the changeset viewer.