From f3634fd3cac16ffaca96a495aa409678185d33d8 Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 18 Jan 2019 21:58:17 +0200 Subject: [PATCH] moving --- user_abilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_abilities.php b/user_abilities.php index b29f8f3..8e2afe2 100644 --- a/user_abilities.php +++ b/user_abilities.php @@ -10,7 +10,7 @@ session_start(); if (!isset($_SESSION['uid'])) header("Location: index.php"); require_once 'functions.php'; -if (!empty($_GET['teeleport']) AND $user['admin'] == 1) { +if (!empty($_GET['teleport']) AND $user['admin'] == 1) { db::c()->query('UPDATE `users`,`online` SET `users`.`room` = 20,`online`.`room` = 20 WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $_SESSION['uid']); header('location: city.php?cp'); die();