Show
Ignore:
Timestamp:
10/26/06 14:44:15 (14 years ago)
Author:
exi
Message:

Changed alliance pictures to work like the corp-ones (eg: upload ALLIANCE_ID.jpg to img/alliances/)
Fixed Security Issue in Server Synchronization

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/sync_server.php

    r31 r38  
    6666        // we dont got that one in our database, update 
    6767        // TODO: we don't care about missing pilots yet 
    68         $update->execute("update kb3_pilots set plt_externalid='".$id."' where plt_name='".$name."'"); 
     68        $update->execute("update kb3_pilots set plt_externalid='".$id."' where plt_name='".addslashes($name)."' limit 1"); 
    6969    } 
    7070    else