Fix for not deleting the Aida event

PDF

Hallo all,

here is a fix to allow the deletion of the aida event:

In the file \includes\classes\Event.php

search insite the function delete () for the next code:

     if($this->event_rep=='main'){
      $query="select count(*) from Event where event_main_id={$this->event_id}";
      if(!$count=ShopDB::query_one_row($query) or $count[0]>0){
        echo '<div class=error>'.delete_subs_first.'<div>';
        return FALSE;
      }

And change the the $query line in:

$query="select count(*) from Event where event_status!='trash' and event_main_id={$this->event_id}";

Shape the Future

Dear Members,
We have created a small survey about Fusion ticket. Please be so kind and fill it in. Thanks.

And click here.

Donate

Amount:
User:

Donate using PayPal

free counters