This commit is contained in:
unknown
2012-07-14 11:13:03 +03:00
parent e108c061c2
commit a24a9f00e9
7 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
</td>
</tr>
<tr>
<td colspan="2" class="on"><input type="image" src="../img/admin/b/ok1.gif" value="submit"></td>
<td colspan="2" class="on"><input type="image" src="../img/admin/b/ok1.gif" value="submit"></br>Notice: if player have ' in is name, you need to write his ID to ban him.</td>
</tr>
</tbody>
</table>
+1 -1
View File
@@ -45,7 +45,7 @@ class funct {
if(is_numeric($get['uid'])){
$get['uid'] = $get['uid'];
}else{
$get['uid'] = $database->getUserField($get['uid'],'id',1);
$get['uid'] = $database->getUserField(addslashes($get['uid']),'id',1);
}
$admin->AddBan($get['uid'],$end,$get['reason']);