Ignore:
Timestamp:
Mar 12, 2013, 6:54:01 PM (11 years ago)
Author:
Eric
Message:

Next version is 2.50.2 :
Bug 2866 fixed - Fatal error message (Fatal error: Call to undefined function switch_lang_to()) when using validation link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/maintain.inc.php

    r21075 r21519  
    172172  // Create USER_CONFIRM_MAIL_TABLE
    173173  // ------------------------------
    174         $q = "
    175 CREATE TABLE IF NOT EXISTS ".USER_CONFIRM_MAIL_TABLE." (
    176   id varchar(50) NOT NULL default '',
    177   user_id smallint(5) NOT NULL default '0',
     174        $q = '
     175CREATE TABLE IF NOT EXISTS '.USER_CONFIRM_MAIL_TABLE.' (
     176  id varchar(50) NOT NULL default "",
     177  user_id smallint(5) NOT NULL default "0",
    178178  mail_address varchar(255) default NULL,
    179   status enum('webmaster','admin','normal','generic','guest') default NULL,
     179  status enum("webmaster","admin","normal","generic","guest") default NULL,
    180180  date_check datetime default NULL,
    181   reminder ENUM('true','false') NULL,
     181  reminder ENUM("true","false") NULL,
    182182PRIMARY KEY  (id)
    183183  )
    184 ENGINE=MyISAM;";
     184ENGINE=MyISAM;';
    185185  pwg_query($q);
    186186
    187187  // Create USER_LASTVISIT_TABLE
    188188  // ---------------------------
    189         $q = "
    190 CREATE TABLE IF NOT EXISTS ".USER_LASTVISIT_TABLE." (
    191   user_id SMALLINT(5) NOT NULL DEFAULT '0',
     189        $q = '
     190CREATE TABLE IF NOT EXISTS '.USER_LASTVISIT_TABLE.' (
     191  user_id SMALLINT(5) NOT NULL DEFAULT "0",
    192192  lastvisit DATETIME NULL DEFAULT NULL,
    193   reminder ENUM('true','false') NULL,
     193  reminder ENUM("true","false") NULL,
    194194PRIMARY KEY (`user_id`)
    195195  )
    196 ENGINE=MyISAM;";
     196ENGINE=MyISAM;';
    197197  pwg_query($q);
    198198
Note: See TracChangeset for help on using the changeset viewer.