Fix for not deleting the Aida event
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}";


