Ignore:
Timestamp:
Sep 25, 2012, 7:28:33 PM (12 years ago)
Author:
Eric
Message:

using !empty($conf_UAM..) instead of $conf_UAM.. <> - Thx to flop25 for his advice ;-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/admin/UAM_admin.php

    r17988 r18239  
    804804                $deltadays = floor($deltasecs / 86400);// Convert result from seconds to days
    805805 
    806                                                 if (isset($conf_UAM[15]) and $conf_UAM[15]=='true' and $conf_UAM[16] <> '')
     806                                                if (isset($conf_UAM[15]) and $conf_UAM[15]=='true' and !empty($conf_UAM[16]))
    807807                {
    808808                                if ($deltadays <= ($conf_UAM[16]/2))
Note: See TracChangeset for help on using the changeset viewer.