HomeHelpTrac

Ignore:
Timestamp:
10/20/09 19:42:05 (3 years ago)
Author:
Alexander Trofimov
Message:

Ticket #1340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc/BxDolXMLRPCSearch.php

    r12465 r12990  
    1010        BxDolXMLRPCUtil::setLanguage ($sLang);  
    1111 
     12        $sCountryCode = process_db_input ($sCountryCode, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 
     13        $sCity = process_db_input ($sCity, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 
     14 
    1215        $sWhere = ''; 
    1316        if ($sCountryCode) 
     
    1922        if ($isOnlineOnly)  
    2023        { 
    21             $iOnlineTime = getParam( 'member_online_time' ); 
     24            $iOnlineTime = (int)getParam( 'member_online_time' ); 
    2225            $sWhere .= " AND `DateLastNav` >= DATE_SUB(NOW(), INTERVAL $iOnlineTime MINUTE)"; 
    2326        } 
     
    4750 
    4851        BxDolXMLRPCUtil::setLanguage ($sLang);  
     52 
     53        $sLat = (float)$sLat; 
     54        $sLng = (float)$sLng; 
    4955 
    5056        $sWhere = ''; 
     
    9096        BxDolXMLRPCUtil::setLanguage ($sLang);  
    9197 
     98        $sKeyword = process_db_input ($sKeyword, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 
     99 
    92100        $sMatch = ''; 
    93101        if ($sKeyword && strlen($sKeyword) > 2) 
Note: See TracChangeset for help on using the changeset viewer.