Update subscription.php

This commit is contained in:
Laurent Destailleur 2021-02-22 11:22:48 +01:00 committed by GitHub
parent 765893f9e6
commit b4e301893c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,15 +106,15 @@ $hidedetails = (GETPOST('hidedetails', 'int') ? GETPOST('hidedetails', 'int') :
$hidedesc = (GETPOST('hidedesc', 'int') ? GETPOST('hidedesc', 'int') : (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 1 : 0));
$hideref = (GETPOST('hideref', 'int') ? GETPOST('hideref', 'int') : (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0));
$datefrom = 0;
$dateto = 0;
$paymentdate = -1;
/*
* Actions
*/
$datefrom = 0;
$dateto = 0;
$paymentdate = -1;
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action);
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');