Skip to content
Permalink
Browse files

Fix typos

  • Loading branch information...
jmatsushita committed Jul 24, 2018
1 parent 5a22ea3 commit 127449188a37f4361112f73859da4fc3683284cd
Showing with 2 additions and 3 deletions.
  1. +2 −3 SicEm.php
@@ -638,8 +638,7 @@ public function attach_image ($url, $to, $args = array()) {
$imgBits = new SicWebImage($url, $params, $http);
if ($imgBits->is_ok() and $imgBits->is_image()) :
// Check whether our size filters or MIME
ts filter it out
// Check whether our size filters or MIME constraints filter it out
$imagesize = $imgBits->size();
if (!is_null($imagesize)) :
$minWidth = (isset($args['min width']) ? $args['min width'] : 0);
@@ -661,7 +660,7 @@ public function attach_image ($url, $to, $args = array()) {
// Apply (if applicable) crop and resize settings
if ($p['crop'] or $p['resize']) :
imgBits->constrain($p['crop'], $p['resize']);
$imgBits->constrain($p['crop'], $p['resize']);
endif;
if ($imgBits->is_image()) :

0 comments on commit 1274491

Please sign in to comment.
You can’t perform that action at this time.