mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 20:34:21 +00:00
more ally update
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
public function sendInvite($post) {
|
||||
global $form, $database, $session;
|
||||
if($session->access != BANNED){
|
||||
if(isset($post['a_name']) && !isset($post['a_uid'])){
|
||||
if(isset($post['a_name']) && $post['a_uid'] != ""){
|
||||
$UserData = $database->getUserArray($post['a_name'], 0);
|
||||
if($this->userPermArray['opt4'] == 0) {
|
||||
$form->addError("perm", NO_PERMISSION);
|
||||
|
||||
Reference in New Issue
Block a user