From db9c4237940d374a3c445039852ca04ada53d1af Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sat, 8 May 2021 20:07:12 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/ecm/class/ecmfiles.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/ecm/class/ecmfiles.class.php b/htdocs/ecm/class/ecmfiles.class.php index 8ed2cac7691..b69d7557aed 100644 --- a/htdocs/ecm/class/ecmfiles.class.php +++ b/htdocs/ecm/class/ecmfiles.class.php @@ -529,10 +529,9 @@ class EcmFiles extends CommonObject $sqlwhere = array(); if (count($filter) > 0) { foreach ($filter as $key => $value) { - if($key == 't.src_object_id'){ + if ($key == 't.src_object_id') { $sqlwhere [] = $key.' = '.$this->db->escape($value); - } - else{ + } else { $sqlwhere [] = $key.' LIKE \'%'.$this->db->escape($value).'%\''; } }