Fixing style errors.
This commit is contained in:
parent
51f73526f9
commit
a873afdad9
@ -904,16 +904,16 @@ class ActionComm extends CommonObject
|
|||||||
|
|
||||||
// remove categorie association
|
// remove categorie association
|
||||||
if (!$error) {
|
if (!$error) {
|
||||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."categorie_actioncomm";
|
$sql = "DELETE FROM ".MAIN_DB_PREFIX."categorie_actioncomm";
|
||||||
$sql .= " WHERE fk_actioncomm=".$this->id;
|
$sql .= " WHERE fk_actioncomm=".$this->id;
|
||||||
|
|
||||||
$res = $this->db->query($sql);
|
$res = $this->db->query($sql);
|
||||||
if (!$res) {
|
if (!$res) {
|
||||||
$this->error = $this->db->lasterror();
|
$this->error = $this->db->lasterror();
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove actioncomm_resources
|
// remove actioncomm_resources
|
||||||
if (!$error) {
|
if (!$error) {
|
||||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."actioncomm_resources";
|
$sql = "DELETE FROM ".MAIN_DB_PREFIX."actioncomm_resources";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user