Fix a misnamed variable in image::resize_image_border() and add a unit test to make sure we call this function to test it
This commit is contained in:
@@ -270,7 +270,7 @@ class Image {
|
||||
." in $sBorderColor");
|
||||
imagedestroy($this->oImage);
|
||||
$this->oImage = $new;
|
||||
$this->iWidth = $new_witdh;
|
||||
$this->iWidth = $iNewWidth;
|
||||
$this->iHeight= $iNewHeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user