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