Ignore:
Timestamp:
Sep 25, 2012, 2:13:58 PM (12 years ago)
Author:
flop25
Message:

big mistake from me corrected
use of !empty()

File:
1 edited

Legend:

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

    r18206 r18235  
    911911
    912912    // Connexion rejected until validation
    913     if (isset($conf_UAM[40]) and $conf_UAM[40] <> '' and $_GET['UAM_msg']="rejected")
     913    if (isset($conf_UAM[40]) and !empty($conf_UAM[40]) and $_GET['UAM_msg']=="rejected")
    914914    {
    915915      // Management of Extension flags ([mygallery], [myurl])
     
    930930
    931931                                // User account deleted after validation deadline
    932     if (isset($conf_UAM[23]) and $conf_UAM[23] <> '' and $_GET['UAM_msg']="deleted")
     932    elseif (isset($conf_UAM[23]) and !empty($conf_UAM[23]) and $_GET['UAM_msg']=="deleted")
    933933    {
    934934      // Management of Extension flags ([mygallery], [myurl]) - [username] flag can't be used here
Note: See TracChangeset for help on using the changeset viewer.