mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 12:24:20 +00:00
big update
This commit is contained in:
+1
-2
@@ -42,8 +42,7 @@ class funct {
|
||||
case addBan:
|
||||
if($get['time']){$end = time()+$get['time']; }else{$end = '';}
|
||||
|
||||
if(preg_match("/^[0-9]+$/",$get['uid'])){
|
||||
//if(eregi("^[0-9]*+$",$get['uid'])){
|
||||
if(is_numeric($get['uid'])){
|
||||
$get['uid'] = $get['uid'];
|
||||
}else{
|
||||
$get['uid'] = $database->getUserField($get['uid'],'id',1);
|
||||
|
||||
Reference in New Issue
Block a user