Skip to content
Snippets Groups Projects
Commit b7e5aa7a authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #1693 fix reset session entities

parent 3d61edf3
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,10 @@ if($_SESSION['service_tag'] == 'user_init' && isset($_SESSION['m_admin']['users'
$tmp_array[$i]['SHORT_LABEL'] = $ent->__get('short_label');
}
}
$_SESSION['m_admin']['entity']['entities'] = $tmp_array;
if(!empty($tmp_array)){
$_SESSION['m_admin']['entity']['entities'] = $tmp_array;
}
unset($tmp_array);
}
elseif($_SESSION['service_tag'] == 'formuser')
......
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