mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix PhanPluginRedundantAssignment
This commit is contained in:
parent
9c6394b996
commit
b3efdbbd5f
|
|
@ -3453,7 +3453,7 @@ function main_area($title = '')
|
|||
|
||||
// Permit to add user company information on each printed document by setting SHOW_SOCINFO_ON_PRINT
|
||||
if (getDolGlobalString('SHOW_SOCINFO_ON_PRINT') && GETPOST('optioncss', 'aZ09') == 'print' && empty(GETPOST('disable_show_socinfo_on_print', 'aZ09'))) {
|
||||
$parameters = array();
|
||||
$parameters = array(); // @phan-suppress-current-line PhanPluginRedundantAssignment
|
||||
$reshook = $hookmanager->executeHooks('showSocinfoOnPrint', $parameters);
|
||||
if (empty($reshook)) {
|
||||
print '<!-- Begin show mysoc info header -->'."\n";
|
||||
|
|
@ -3839,7 +3839,7 @@ if (!function_exists("llxFooter")) {
|
|||
}
|
||||
}
|
||||
|
||||
$parameters = array();
|
||||
$parameters = array(); // @phan-suppress-current-line PhanPluginRedundantAssignment
|
||||
$reshook = $hookmanager->executeHooks('beforeBodyClose', $parameters); // Note that $action and $object may have been modified by some hooks
|
||||
if ($reshook > 0) {
|
||||
print $hookmanager->resPrint;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user