Skip to content

Commit

Permalink
Fixes #89, bad variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
weotch committed May 26, 2015
1 parent 5ab0c62 commit 4f15626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bkwld/Croppa/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function trim($options) {
* @return $this
*/
public function trimPixels($coords) {
list($x1, $y1, $x2, $y2) = $options;
list($x1, $y1, $x2, $y2) = $coords;
$this->thumb->crop($x1, $y1, $x2 - $x1, $y2 - $y1);
return $this;
}
Expand Down Expand Up @@ -165,4 +165,4 @@ public function crop($width, $height) {
public function get() {
return $this->thumb->getImageAsString();
}
}
}

0 comments on commit 4f15626

Please sign in to comment.