You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes problem when printing translated values of the "type" in Group pages, since this rely on this fallback mechanism to print the label of the entry type. See screenshot
The solution is to rename the parameter to something else than "fallback".
The text was updated successfully, but these errors were encountered:
tfrancart
pushed a commit
to tfrancart/Skosmos
that referenced
this issue
Jul 29, 2019
In https://github.com/NatLibFi/Skosmos/blob/master/model/ConceptPropertyValue.php#L38, the variable $fallback passed as a method parameter is overidden in the inner for loop to check for fallback languages. Hence the last test of the function
if($fallback == 'uri')
never works.This causes problem when printing translated values of the "type" in Group pages, since this rely on this fallback mechanism to print the label of the entry type. See screenshot
The solution is to rename the parameter to something else than "fallback".
The text was updated successfully, but these errors were encountered: