Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2017-05-23 10:18:08 +00:00
committed by StyleCI Bot
parent 4ec6000d69
commit 7b8ee415be
8 changed files with 91 additions and 68 deletions

View File

@@ -35,7 +35,7 @@ class Ticket_attachments extends Model
if ($content) {
$value = base64_encode($content);
if (mime($this->type) != 'image') {
$root = $root . "/" . $name;
$root = $root.'/'.$name;
chmod($root, 1204);
}
}