fix deleting events

This commit is contained in:
Isaac Connor 2018-09-04 09:57:32 -04:00
parent 8245d193e2
commit c9b4f14171
1 changed files with 1 additions and 1 deletions

View File

@ -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();