Skip to content
Snippets Groups Projects
Commit 29d1118a authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #1434 ajout parametres dans addLinks()

parent 29437205
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,17 @@ class LinkController
$return .= '\''.$_SESSION['config']['businessappurl'].'index.php?page=add_links&display=true\', ';
$return .= '\''.$delChild.'\' ,';
$return .= '\''.$delParent.'\' ,';
$return .= '\'del\'';
$return .= '\'del\',';
if ($_SESSION['current_basket']['coll_id'] == 'letterbox_coll') {
$return .= '\'res_view_letterbox\'';
} elseif ($_SESSION['current_basket']['coll_id'] == 'business_coll') {
$return .= '\'res_view_business\'';
} else {
$return .= '\'\'';
}
$return .= ');';
$return .= '">';
$return .= '<img src="static.php?filename=picto_delete.gif" />';
......
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