Fixing style errors.
This commit is contained in:
parent
b482a78d31
commit
e48ce5b159
@ -1127,7 +1127,7 @@ class ActionComm extends CommonObject
|
|||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."actioncomm ";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."actioncomm ";
|
||||||
$sql .= " SET percent = '".$this->db->escape($this->percentage)."'";
|
$sql .= " SET percent = '".$this->db->escape($this->percentage)."'";
|
||||||
if ($this->type_id > 0) {
|
if ($this->type_id > 0) {
|
||||||
$sql .= ", fk_action = ".(int)$this->type_id;
|
$sql .= ", fk_action = ".(int) $this->type_id;
|
||||||
if (empty($this->type_code)) {
|
if (empty($this->type_code)) {
|
||||||
$cactioncomm = new CActionComm($this->db);
|
$cactioncomm = new CActionComm($this->db);
|
||||||
$result = $cactioncomm->fetch($this->type_id);
|
$result = $cactioncomm->fetch($this->type_id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user