Jump to content
MakeWebGames

Small Bug found in GangPermissions [Solved]


Recommended Posts

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");

 

  • Like 2
  • Thanks 2
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...