Skip to content
Snippets Groups Projects
Verified Commit 46e3d98c authored by Damien's avatar Damien
Browse files

FIX old tags

parent e282e354
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ abstract class tag_controler_Abstract extends ObjectControler
* Searching a tag by label
* @If tag exists, return this value, else, return false
*/
if (empty($tag_id) || empty($coll_id)) {
if (empty($tag_id)) {
return null;
}
......
......@@ -16,10 +16,10 @@ if ($mode == 'list') {
$tagslist['tab'],
$_SESSION['save_list']['full_count'],
$tagslist['title'],
'tag_label',
'label',
'manage_tag_list_controller&mode=list',
'tags',
'tag_id',
'id',
true,
$tagslist['page_name_up'],
$tagslist['page_name_val'],
......
......@@ -138,9 +138,8 @@ function display_up($tag_id)
$state = false;
} else {
//put_in_session('tag', $tag->getArray());
$_SESSION['m_admin']['tag']['tag_id'] = $tag->tag_id;
$_SESSION['m_admin']['tag']['tag_label'] = $tag->tag_label;
$_SESSION['m_admin']['tag']['tag_coll'] = $tag->coll_id;
$_SESSION['m_admin']['tag']['tag_id'] = $tag->id;
$_SESSION['m_admin']['tag']['tag_label'] = $tag->label;
$_SESSION['m_admin']['tag']['entities'] = $tag->entities;
$_SESSION['m_admin']['tag']['tag_count'] = (string) $tagCtrl->countdocs(
$tag->tag_id
......
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