• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Displaying a link to a page without content or to which the user may not have permission for.

Affected version
1.1.14

Alfa1

Well-known member
#1
In XFMG 1 all media entries have a 'More media' block which lists how many Albums the user has. Often this number is 0.
If the user has 0 albums then this still links to the users non-existent albums. Which is an empty page:
This user has not created any albums.
Or if the user does not have permission:
Error
You do not have permission to view albums.
It seems to me that this behaviour is unexpected. It displays a link to a page without content or to which the user may not have permission for.
It seems to me that it would be better to not display such dead-end link at all.