mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-07 05:14:31 +00:00
fix: more manual typecastings
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
||||
include_once("GameEngine/Account.php");
|
||||
$max_per_pass = 1000;
|
||||
|
||||
if (mysqli_num_rows(mysqli_query($GLOBALS['link'],"SELECT id FROM ".TB_PREFIX."users WHERE access = 9 AND id = ".$session->uid)) != '1') die("Hacking attemp!");
|
||||
if (mysqli_num_rows(mysqli_query($GLOBALS['link'],"SELECT id FROM ".TB_PREFIX."users WHERE access = 9 AND id = ".(int) $session->uid)) != '1') die("Hacking attemp!");
|
||||
|
||||
if (@$_POST['submit'] == "Send")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user