Fix phpcs
This commit is contained in:
parent
4cde4f6162
commit
eefc6ddf83
@ -78,7 +78,6 @@ $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action
|
|||||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
|
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
|
|
||||||
if ($cancel) {
|
if ($cancel) {
|
||||||
$action = '';
|
$action = '';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -705,8 +705,8 @@ class Account extends CommonObject
|
|||||||
$sql .= ", ".price2num($this->min_allowed);
|
$sql .= ", ".price2num($this->min_allowed);
|
||||||
$sql .= ", ".price2num($this->min_desired);
|
$sql .= ", ".price2num($this->min_desired);
|
||||||
$sql .= ", '".$this->db->escape($this->comment)."'";
|
$sql .= ", '".$this->db->escape($this->comment)."'";
|
||||||
$sql .= ", ".($this->state_id > 0 ? $this->state_id : "null");
|
$sql .= ", ".($this->state_id > 0 ? ((int) $this->state_id) : "null");
|
||||||
$sql .= ", ".($this->country_id > 0 ? $this->country_id : "null");
|
$sql .= ", ".($this->country_id > 0 ? ((int) $this->country_id) : "null");
|
||||||
$sql .= ", '".$this->db->escape($this->ics)."'";
|
$sql .= ", '".$this->db->escape($this->ics)."'";
|
||||||
$sql .= ", '".$this->db->escape($this->ics_transfer)."'";
|
$sql .= ", '".$this->db->escape($this->ics_transfer)."'";
|
||||||
$sql .= ")";
|
$sql .= ")";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user