Fixing style errors.
This commit is contained in:
parent
f4cf7363bd
commit
15a2f71534
@ -39,8 +39,7 @@ $langs->load("bom");
|
|||||||
$total = 0;
|
$total = 0;
|
||||||
$ilink = 0;
|
$ilink = 0;
|
||||||
|
|
||||||
if($object->element == 'mo') {
|
if ($object->element == 'mo') {
|
||||||
|
|
||||||
$mo_static = new Mo($db);
|
$mo_static = new Mo($db);
|
||||||
$res = $mo_static->fetch($object->id);
|
$res = $mo_static->fetch($object->id);
|
||||||
$TMoChilds = $mo_static->getMoChilds();
|
$TMoChilds = $mo_static->getMoChilds();
|
||||||
@ -69,7 +68,7 @@ if($object->element == 'mo') {
|
|||||||
|
|
||||||
// we want to make the link via element_element for delete action
|
// we want to make the link via element_element for delete action
|
||||||
$sql = " Select rowid from " . MAIN_DB_PREFIX . "element_element";
|
$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);
|
$resql = $db->query($sql);
|
||||||
$k = 0;
|
$k = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user