fix deleting events
This commit is contained in:
parent
8245d193e2
commit
c9b4f14171
|
@ -236,7 +236,7 @@ if ( canView('Events') ) {
|
||||||
}
|
}
|
||||||
} elseif ( $action == 'delete' ) {
|
} elseif ( $action == 'delete' ) {
|
||||||
$dbConn->beginTransaction();
|
$dbConn->beginTransaction();
|
||||||
foreach( getAffectedIds('markEid') as $markEid ) {
|
foreach( getAffectedIds('eids') as $markEid ) {
|
||||||
deleteEvent($markEid);
|
deleteEvent($markEid);
|
||||||
}
|
}
|
||||||
$dbConn->commit();
|
$dbConn->commit();
|
||||||
|
|
Loading…
Reference in New Issue