Skip to content
Snippets Groups Projects
Commit 376ee67d authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix: bug in del links

parent 69f0d362
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class LinkController
foreach ($arrayToFormat as $key => $value) {
$infos = $this->getDocInfos($key, $_SESSION['current_basket']['coll_id']);
$return .= '<div id="ged_'.$key.'" class="linkDiv">';
$return .= '<div id="ged_'.$key.$sens.'" class="linkDiv">';
$return .= '<table>';
$return .= '<tr>';
$return .= '<td>';
......@@ -94,7 +94,7 @@ class LinkController
$return .= $status;
$return .= '</td>';
if ($core->test_service('add_links', 'apps', false) && $this->level <= 1) {
if ($sens = 'asc') {
if ($sens == 'asc') {
$delParent = $key;
$delChild = $_SESSION['doc_id'];
} else {
......@@ -150,7 +150,6 @@ class LinkController
}
}
}
return $return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment