Debug eventorganization modules

This commit is contained in:
Laurent Destailleur 2021-10-06 12:55:07 +02:00
parent ff29ac93ad
commit ea3e3b133d
2 changed files with 2 additions and 2 deletions

View File

@ -261,6 +261,7 @@ if ($action == 'confirm_delete' && !empty($permissiontodelete)) {
} }
$result = $object->delete($user); $result = $object->delete($user);
if ($result > 0) { if ($result > 0) {
// Delete OK // Delete OK
setEventMessages("RecordDeleted", null, 'mesgs'); setEventMessages("RecordDeleted", null, 'mesgs');

View File

@ -130,7 +130,7 @@ if (empty($reshook)) {
$error = 0; $error = 0;
if (!empty($withproject)) { if (!empty($withproject)) {
$backurlforlist = DOL_URL_ROOT.'/eventorganization/conferenceorboothattendee_list.php?withproject=1'; $backurlforlist = DOL_URL_ROOT.'/eventorganization/conferenceorboothattendee_list.php?withproject=1&fk_project='.((int) $fk_project);
} else { } else {
$backurlforlist = DOL_URL_ROOT.'/eventorganization/conferenceorboothattendee_list.php'; $backurlforlist = DOL_URL_ROOT.'/eventorganization/conferenceorboothattendee_list.php';
} }
@ -156,7 +156,6 @@ if (empty($reshook)) {
$action = ''; $action = '';
} }
$triggermodname = 'EVENTORGANIZATION_CONFERENCEORBOOTHATTENDEE_MODIFY'; // Name of trigger action code to execute when we modify record $triggermodname = 'EVENTORGANIZATION_CONFERENCEORBOOTHATTENDEE_MODIFY'; // Name of trigger action code to execute when we modify record
// Actions cancel, add, update, update_extras, confirm_validate, confirm_delete, confirm_deleteline, confirm_clone, confirm_close, confirm_setdraft, confirm_reopen // Actions cancel, add, update, update_extras, confirm_validate, confirm_delete, confirm_deleteline, confirm_clone, confirm_close, confirm_setdraft, confirm_reopen