summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-08-03 09:05:29 +0200
committerAndrey Andreev <narf@devilix.net>2015-08-03 09:05:29 +0200
commit10fb7d17b2025de4963da8b0108fda4da36ade11 (patch)
treee408495939d1bd6f9e693cebb9dd54e767fedb49 /system/libraries
parent3da611e5b4c9cda8d70975d638f6f05066e46bc4 (diff)
[ci skip] Normalize tabs/spaces
Partial changes from PR #4016
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Image_lib.php4
-rw-r--r--system/libraries/Upload.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index c69283a7c..e813efd89 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -779,7 +779,7 @@ class CI_Image_lib {
$this->y_axis = 0;
}
- // Create the image handle
+ // Create the image handle
if ( ! ($src_img = $this->image_create_gd()))
{
return FALSE;
@@ -1195,7 +1195,7 @@ class CI_Image_lib {
$x_axis += $this->orig_width - $wm_width;
}
- // Build the finalized image
+ // Build the finalized image
if ($wm_img_type === 3 && function_exists('imagealphablending'))
{
@imagealphablending($src_img, TRUE);
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 20ddfc145..8a2dec76a 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -1023,7 +1023,7 @@ class CI_Upload {
if (count($x) === 1)
{
- return '';
+ return '';
}
$ext = ($this->file_ext_tolower) ? strtolower(end($x)) : end($x);