Fixing style errors.

This commit is contained in:
stickler-ci 2022-11-08 08:55:25 +00:00
parent f4cf7363bd
commit 15a2f71534

View File

@ -39,8 +39,7 @@ $langs->load("bom");
$total = 0;
$ilink = 0;
if($object->element == 'mo') {
if ($object->element == 'mo') {
$mo_static = new Mo($db);
$res = $mo_static->fetch($object->id);
$TMoChilds = $mo_static->getMoChilds();
@ -69,7 +68,7 @@ if($object->element == 'mo') {
// we want to make the link via element_element for delete action
$sql = " Select rowid from " . MAIN_DB_PREFIX . "element_element";
$sql .= " WHERE fk_source = " . (int)$object->id . " and fk_target = '" . dol_escape_htmltag($key) . "'";
$sql .= " WHERE fk_source = " . (int) $object->id . " and fk_target = '" . dol_escape_htmltag($key) . "'";
$resql = $db->query($sql);
$k = 0;