Show
Ignore:
Timestamp:
09/07/10 19:27:32 (21 months ago)
Author:
paparazzia
Message:

fix #373 (refix for admin notices)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/site/admin/importrace.php

    r1754 r1801  
    180180// Main code 
    181181 
    182     if ($_REQUEST["action"] != "import") { 
     182    if (get_cgi_var("action") != "import") { 
    183183        //Display the import form, import not started 
    184184?> 
     
    196196 
    197197        //check from input 
    198         $idracefrom = intval($_REQUEST['idracefrom']) ; 
    199         $idraceto = intval($_REQUEST['idraceto']) ; 
    200         $importserver = htmlentities(quote_smart($_REQUEST['importserver'])); 
     198        $idracefrom = intval(get_cgi_var('idracefrom')) ; 
     199        $idraceto = intval(get_cgi_var('idraceto')) ; 
     200        $importserver = htmlentities(get_cgi_var('importserver')); 
    201201 
    202202        //Default is to print sql 
     
    209209        //FIXME: we should 'ping' the import server and check availability 
    210210 
    211         if ($_REQUEST['confirm'] != 'yes') { 
     211        if (get_cgi_var('confirm') != 'yes') { 
    212212            //import first pass, checking in dryrun mode 
    213213            echo "<h3>Testing import of race #<b>$idracefrom</b> from server <b>$importserver</b> to race id #<b>$idraceto</b></h3>";