Fix bad position of test
This commit is contained in:
parent
7a7e7b330f
commit
26f553a1a8
@ -5358,12 +5358,12 @@ class Form
|
|||||||
</script>
|
</script>
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$linktoelem.=($linktoelem?' ':'');
|
$linktoelem.=($linktoelem?' ':'');
|
||||||
if ($num > 0) $linktoelem.='<a href="#linkto'.$key.'" id="linkto'.$key.'">' . $langs->trans($possiblelink['label']) .' ('.$num.')</a>';
|
if ($num > 0) $linktoelem.='<a href="#linkto'.$key.'" id="linkto'.$key.'">' . $langs->trans($possiblelink['label']) .' ('.$num.')</a>';
|
||||||
//else $linktoelem.=$langs->trans($possiblelink['label']);
|
//else $linktoelem.=$langs->trans($possiblelink['label']);
|
||||||
else $linktoelem.='<a href="#linkto'.$key.'" class="disabled" id="linkto'.$key.'">' . $langs->trans($possiblelink['label']) . '</a>';
|
else $linktoelem.='<a href="#linkto'.$key.'" class="disabled" id="linkto'.$key.'">' . $langs->trans($possiblelink['label']) . '</a>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $linktoelem;
|
return $linktoelem;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user