forked from Wavyzz/dolibarr
Fix PhanPluginRedundantAssignment
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
* Copyright (C) 2011-2021 Philippe Grand <philippe.grand@atoo-net.com>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2020 John BOTELLA
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -820,7 +821,7 @@ class pdf_storm extends ModelePDFDeliveryOrder
|
||||
if ($this->page_largeur < 210) {
|
||||
$widthrecbox = 84; // To work with US executive format
|
||||
}
|
||||
$posy = 42;
|
||||
$posy = 42; // @phan-suppress-current-line PhanPluginRedundantAssignment
|
||||
$posx = $this->page_largeur - $this->marge_droite - $widthrecbox;
|
||||
if (getDolGlobalString('MAIN_INVERT_SENDER_RECIPIENT')) {
|
||||
$posx = $this->marge_gauche;
|
||||
|
||||
Reference in New Issue
Block a user