Ignore:
Timestamp:
May 12, 2012, 2:54:33 PM (9 years ago)
Author:
Eric
Message:

Code refactory
Compatilibity with Piwigo 2.4 and FluxBB 1.5 verifyed
language/fr_FR/plugin.lang.php sentence fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Register_FluxBB/trunk/include/functions.inc.php

    r9885 r14918  
    121121;";
    122122
    123         $o_default_user_group = pwg_db_fetch_assoc(pwg_query($query));
     123        $o_user_group = pwg_db_fetch_assoc(pwg_query($query));
    124124     
    125125        $query = "
    126126UPDATE ".FluxBB_USERS_TABLE."
    127 SET group_id = ".$o_default_user_group['conf_value']."
     127SET group_id = ".$o_user_group['conf_value']."
    128128WHERE id = ".FluxBB_Searchuser($user['id'])."
    129129;";
     
    311311{
    312312  $query = "
    313 SELECT id_user_FluxBB, id_user_pwg FROM ".Register_FluxBB_ID_TABLE."
     313SELECT id_user_FluxBB, id_user_pwg
     314FROM ".Register_FluxBB_ID_TABLE."
    314315WHERE id_user_pwg = ".$id_user_pwg."
    315316LIMIT 1
Note: See TracChangeset for help on using the changeset viewer.