Commit 5cdaaa4a authored by ilya's avatar ilya Committed by jun
Browse files

Merge branch 'MDL-72967-master' of https://github.com/lameze/moodle

parents 0dd508d6 26ca780f
......@@ -425,11 +425,11 @@ class MoodleExcelWorksheet {
$objdrawing->setOffsetX($x);
$objdrawing->setOffsetY($y);
$objdrawing->setWorksheet($this->worksheet);
if ($scale_x != 1) {
if ($scalex != 1) {
$objdrawing->setResizeProportional(false);
$objdrawing->getWidth($objdrawing->getWidth() * $scalex);
}
if ($scale_y != 1) {
if ($scaley != 1) {
$objdrawing->setResizeProportional(false);
$objdrawing->setHeight($objdrawing->getHeight() * $scaley);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment