Changeset 17974


Ignore:
Timestamp:
Sep 17, 2012, 9:54:26 PM (8 years ago)
Author:
Eric
Message:

Fix bug on manual validation
changelog.txt.php updated for remind

Location:
extensions/UserAdvManager/trunk
Files:
2 edited

Legend:

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

    r17887 r17974  
    340340            Update it_IT, thanks to : Ericnet and virgigiole
    341341
    342 -- 2.41.0 : Bug 2744 fixed - User connexion rejection does not work if no group/status/privacy is set
     342-- 2.41.0 : Bug 2744 fixed - User connexion rejection does not work if no group/status/privacy is set
     343                                                New unvalidated user controls more efficient
     344                                                New simplifed administration panel
    343345*/
    344346?>
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r17972 r17974  
    23782378WHERE u.'.$conf['user_fields']['id'].' >= 3
    23792379  AND (TO_DAYS(NOW()) - TO_DAYS(ui.registration_date) >= "'.$conf_UAM_ConfirmMail[1].'"
    2380   OR TO_DAYS(NOW()) - TO_DAYS(ui.registration_date) < "'.$conf_UAM_ConfirmMail[1].'")';
    2381 
    2382                 if ($conf_UAM[2] <> '-1' and $conf_UAM[7] == '-1')
    2383   {
    2384     $query.= '
    2385   AND ug.group_id = '.$conf_UAM[2];
    2386   }
    2387   if ($conf_UAM[2] == '-1' and $conf_UAM[7] <> '-1')
    2388   {
    2389     $query.= '
    2390   AND ui.status = \''.$conf_UAM[7]."'";
    2391   }
    2392   if ($conf_UAM[2] <> '-1' and $conf_UAM[7] <> '-1')
    2393   {
    2394     $query.= '
    2395   AND ug.group_id = '.$conf_UAM[2];
    2396   }
    2397 
    2398   $query.= '
     2380  OR TO_DAYS(NOW()) - TO_DAYS(ui.registration_date) < "'.$conf_UAM_ConfirmMail[1].'")
     2381                AND u.UAM_validated = "false"
    23992382ORDER BY ui.registration_date ASC
    24002383;';
Note: See TracChangeset for help on using the changeset viewer.