summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/PHPImageWorkshop/ImageWorkshop.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PHPImageWorkshop/ImageWorkshop.php b/src/PHPImageWorkshop/ImageWorkshop.php
index 332af85..89bcac9 100755
--- a/src/PHPImageWorkshop/ImageWorkshop.php
+++ b/src/PHPImageWorkshop/ImageWorkshop.php
@@ -249,7 +249,7 @@ class ImageWorkshop
*/
public function pasteImage($unit = "pixel", $image, $positionX = 0, $positionY = 0)
{
- if ($unit == "pourcent") {
+ if ($unit == "percent") {
$positionX = round(($positionX / 100) * $this->width);
$positionY = round(($positionY / 100) * $this->height);