Fixing style errors.

This commit is contained in:
stickler-ci 2022-06-02 19:34:39 +00:00
parent b482a78d31
commit e48ce5b159

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;
if (empty($this->type_code)) {
$cactioncomm = new CActionComm($this->db);
$result = $cactioncomm->fetch($this->type_id);