Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Classes/PHPExcel/Worksheet/SheetView.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function setZoomScale($pValue = 100)
if (($pValue >= 1) || is_null($pValue)) {
$this->zoomScale = $pValue;
} else {
throw new PHPExcel_Exception("Scale must be greater than or equal to 1.");
$this->zoomScale = 100;
}
return $this;
}
Expand Down Expand Up @@ -128,7 +128,7 @@ public function setZoomScaleNormal($pValue = 100)
if (($pValue >= 1) || is_null($pValue)) {
$this->zoomScaleNormal = $pValue;
} else {
throw new PHPExcel_Exception("Scale must be greater than or equal to 1.");
$this->zoomScaleNormal = 100;
}
return $this;
}
Expand Down