Skip to content

Commit

Permalink
Update html.form.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyriony authored Oct 9, 2024
1 parent 6c36183 commit 8ab86d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htdocs/core/class/html.form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -9559,6 +9559,9 @@ public function showLinkToObjectBlock($object, $restrictlinksto = array(), $excl
}

$possiblelinks = array();

$dontIncludeCompletedItems = getDolGlobalString('DONT_INCLUDE_COMPLETED_ELEMENTS_LINKS');

Check failure on line 9564 in htdocs/core/class/html.form.class.php

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

Whitespace found at end of line
if (is_object($object->thirdparty) && !empty($object->thirdparty->id) && $object->thirdparty->id > 0) {
$listofidcompanytoscan = $object->thirdparty->id;
if (($object->thirdparty->parent > 0) && getDolGlobalString('THIRDPARTY_INCLUDE_PARENT_IN_LINKTO')) {
Expand All @@ -9574,8 +9577,6 @@ public function showLinkToObjectBlock($object, $restrictlinksto = array(), $excl
unset($tmpproject);
}

$dontIncludeCompletedItems = getDolGlobalString('DONT_INCLUDE_COMPLETED_ELEMENTS_LINKS');

$possiblelinks = array(
'propal' => array(
'enabled' => isModEnabled('propal'),
Expand Down

0 comments on commit 8ab86d1

Please sign in to comment.