Merge pull request #21593 from fappels/develop_fix_standard_label
Fix standard label wrong var name
This commit is contained in:
commit
c71a1e5ac1
2 changed files with 4 additions and 4 deletions
|
|
@ -179,8 +179,8 @@ class pdf_standard extends CommonStickerGenerator
|
|||
$widthtouse = $maxwidthtouse;
|
||||
$heighttouse = round($widthtouse / $imgratio);
|
||||
} else {
|
||||
$heightouse = $maxheighttouse;
|
||||
$widthtouse = round($heightouse * $imgratio);
|
||||
$heighttouse = $maxheighttouse;
|
||||
$widthtouse = round($heighttouse * $imgratio);
|
||||
}
|
||||
}
|
||||
//var_dump($this->_Width.'x'.$this->_Height.' with border and scale '.$imgscale.' => max '.$maxwidthtouse.'x'.$maxheighttouse.' => We use '.$widthtouse.'x'.$heighttouse);exit;
|
||||
|
|
|
|||
|
|
@ -141,8 +141,8 @@ class pdf_standardlabel extends CommonStickerGenerator
|
|||
$widthtouse = $maxwidthtouse;
|
||||
$heighttouse = round($widthtouse / $imgratio);
|
||||
} else {
|
||||
$heightouse = $maxheighttouse;
|
||||
$widthtouse = round($heightouse * $imgratio);
|
||||
$heighttouse = $maxheighttouse;
|
||||
$widthtouse = round($heighttouse * $imgratio);
|
||||
}
|
||||
}
|
||||
//var_dump($this->_Width.'x'.$this->_Height.' with border and scale '.$imgscale.' => max '.$maxwidthtouse.'x'.$maxheighttouse.' => We use '.$widthtouse.'x'.$heighttouse);exit;
|
||||
|
|
|
|||
Loading…
Reference in a new issue