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

FIX #1043 pb with session var

parent 45aea8af
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ if ($s_id == '') {
if (isset($_REQUEST['collid']) && $_REQUEST['collid'] <> '') {
$_SESSION['collection_id_choice'] = $_REQUEST['collid'];
}
if (isset($_SESSION['collection_id_choice'])
&& !empty($_SESSION['collection_id_choice'])
) {
......@@ -85,6 +86,7 @@ if ($s_id == '') {
);
}
} else {
if (isset($_SESSION['collections'][0]['view'])
&& !empty($_SESSION['collections'][0]['view'])
) {
......@@ -92,6 +94,7 @@ if ($s_id == '') {
} else {
$table = $_SESSION['collections'][0]['table'];
}
$_SESSION['collection_id_choice'] = $_SESSION['collections'][0]['id'];
}
for ($cptColl = 0;$cptColl < count($_SESSION['collections']);$cptColl++) {
if ($table == $_SESSION['collections'][$cptColl]['table']
......
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