From 467ed586b1bb560cf379518cc079909f9e3adafa Mon Sep 17 00:00:00 2001 From: i92guboj Date: Mon, 19 Dec 2016 20:46:30 +0100 Subject: [PATCH] indentation and revert func parameter experiment --- application/controllers/Items.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/Items.php b/application/controllers/Items.php index 9ddec2c24..bc1c69cb6 100644 --- a/application/controllers/Items.php +++ b/application/controllers/Items.php @@ -112,8 +112,8 @@ class Items extends Secure_Controller $config['create_thumb'] = TRUE; $config['width'] = 52; $config['height'] = 32; - $this->image_lib->initialize($config); - $image = $this->image_lib->resize(); + $this->image_lib->initialize($config); + $image = $this->image_lib->resize(); $thumb_path = $this->image_lib->full_dst_path; } $this->output->set_content_type(get_mime_by_extension($thumb_path)); @@ -472,7 +472,7 @@ class Items extends Secure_Controller echo !$exists ? 'true' : 'false'; } - private function _handle_image_upload($pic_filename) + private function _handle_image_upload() { /* Let files be uploaded with their original name */