Fixing style errors.

This commit is contained in:
stickler-ci 2022-06-02 13:37:55 +00:00
parent d5c4cac64b
commit 19dc0f124c

View File

@ -1127,7 +1127,7 @@ class ActionComm extends CommonObject
$sql = "UPDATE ".MAIN_DB_PREFIX."actioncomm ";
$sql .= " SET percent = '".$this->db->escape($this->percentage)."'";
if ($this->type_id > 0) {
$sql .= ", fk_action = ".(int)$this->type_id;
$sql .= ", fk_action = ".(int) $this->type_id;
$cactioncomm = new CActionComm($this->db);
$result = $cactioncomm->fetch($this->type_id);
if ($result>=0) {