Changeset 21519 for extensions


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

Location:
extensions/UserAdvManager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/changelog.txt.php

    r21293 r21519  
    376376            Update tr_TR, thanks to : hakanselcuk
    377377
     378**************************************************************
     379***** Plugin history (branch 2.50 - Piwigo 2.5 compliant)*****
     380**************************************************************
    378381-- 2.50.0 : Compliance with Piwigo 2.5
    379382            Bug 2764 fixed - Code refactory : Change config variables to assoc array and $_POST vars control before writing conf in database - Thx to flop25 for his advices ;-)
     
    391394            Update de_DE, thanks to : stephy
    392395            Update it_IT, thanks to : Ericnet
     396
     397-- 2.50.2 : Bug 2866 fixed - Fatal error message (Fatal error: Call to undefined function switch_lang_to()) when using validation link
     398            Update tr_TR, thanks to : LazBoy
     399            Update it_IT, thanks to : Ericnet
    393400           
    394401*/
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r21293 r21519  
    987987function UAM_ConfirmMail()
    988988{
     989  global $conf;
     990  include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php');
     991
    989992  if (isset($_GET['key']) and isset($_GET['userid']))
    990993  {
  • 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.