Changeset 1068 in ExiteCMS for trunk/members.php


Ignore:
Timestamp:
11/06/07 00:40:02 (5 years ago)
Author:
hverton
Message:

Added the Webmaster Toolbox admin module
Fixed XHTML errors in the opentable/openside templates
Fixed XHTML in the admin index module
Fixed a query error in the members module (didn't filter suspended account when using a letter or country filter)
Converted the GeoIP update script to a Toolbox plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/members.php

    r1060 r1068  
    4545    } else { 
    4646        if ($country == "") { 
    47             $filter .= " AND user_name LIKE '".stripinput($sortby)."%' OR user_name LIKE '".strtolower(stripinput($sortby))."%'"; 
     47            $filter .= " AND (user_name LIKE '".stripinput($sortby)."%' OR user_name LIKE '".strtolower(stripinput($sortby))."%')"; 
    4848        } else { 
    49             $filter .= " AND user_cc_code = '".$country."' AND (user_name LIKE '".stripinput($sortby)."%' OR user_name LIKE '".strtolower(stripinput($sortby))."%')"; 
     49            $filter .= " AND (user_cc_code = '".$country."' AND (user_name LIKE '".stripinput($sortby)."%' OR user_name LIKE '".strtolower(stripinput($sortby))."%'))"; 
    5050        } 
    5151    } 
Note: See TracChangeset for help on using the changeset viewer.