AinzOoalGown Posted January 11, 2021 Posted January 11, 2021 Hey, Found a small bug in "gangs.inc.php > public function method_kick()" When kicking a player from your gang will get an error message. This is because of "gangPermissions" not having a capital P (small typo :P): $permissions = $this->db->prepare("DELETE FROM gangpermissions WHERE GP_user = :u"); To: $permissions = $this->db->prepare("DELETE FROM gangPermissions WHERE GP_user = :u"); 3 2 Quote
Sim Posted January 14, 2021 Posted January 14, 2021 Surprised no one had seen our mentioned this yet. 🙂 1 Quote
AinzOoalGown Posted January 14, 2021 Author Posted January 14, 2021 11 hours ago, Sim said: Surprised no one had seen our mentioned this yet. 🙂 Haha yeah. Maybe no one has been kicked from a gang yet 😛 I like to test everything as I get used to a system 🙂 1 Quote
CrazyElk Posted January 29, 2021 Posted January 29, 2021 Great pickup @AinzOoalGown ... I just kicked someone to test this and got the error, have since made the file edit and now all good (except i'm down a gang member) ... cheers. 😆 1 Quote
AinzOoalGown Posted January 29, 2021 Author Posted January 29, 2021 Haha no problem, any issue I find I will post about it 🙂 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.