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/admin_sync.php

    r15 r38  
    9797        for ($i = 0; $i<$results; $i++) 
    9898        { 
    99             $update->execute("update kb3_pilots set plt_externalid='".$matches[2][$i]."' where plt_name='".$matches[1][$i]."'"); 
     99            $update->execute("update kb3_pilots set plt_externalid='".$matches[2][$i]."' where plt_name='".addslashes($matches[1][$i])."' limit 1"); 
    100100        } 
    101101        $html .= "Synchronization complete, got $results new ids from server running version ".$version[0].'.'.$version[1].'.'.$version[2].'.<br>';