AinzOoalGown Posted January 11, 2021 Share 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 Link to comment Share on other sites More sharing options...
Sim Posted January 14, 2021 Share Posted January 14, 2021 Surprised no one had seen our mentioned this yet. 🙂 1 Quote Link to comment Share on other sites More sharing options...
AinzOoalGown Posted January 14, 2021 Author Share 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 Link to comment Share on other sites More sharing options...
CrazyElk Posted January 29, 2021 Share 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 Link to comment Share on other sites More sharing options...
AinzOoalGown Posted January 29, 2021 Author Share Posted January 29, 2021 Haha no problem, any issue I find I will post about it 🙂 1 Quote Link to comment Share on other sites More sharing options...
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.