summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-05-11 17:19:01 +0200
committerAndrey Andreev <narf@devilix.net>2015-05-11 17:19:01 +0200
commit5d78fd839120419ba7c0642f120313543af99b99 (patch)
tree55999f6c8281f53ad64286946a2b2d636f72a5b3 /system
parent89eda4914a64eb98ed0b7912f2bb8aa841f5c092 (diff)
Fix an undefined variable error from fbde2798688ab99cfe3fdd22746d60f0877b2c27
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 6374aacdd..ce6c42b02 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -1080,7 +1080,7 @@ class CI_Image_lib {
$top = 0;
$bottom = $height - 1;
- while ($top < $botttom)
+ while ($top < $bottom)
{
$ct = imagecolorat($src_img, $i, $top);
$cb = imagecolorat($src_img, $i, $bottom);