diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index ff30f16b8dd..e5b8ff0f49c 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -788,9 +788,7 @@ class ActionComm extends CommonObject } $this->db->free($resql); - } - else - { + } else { $this->error = $this->db->lasterror(); return -1; }