I just found something very strange. When I use the following code, it will only show a blank page.
print $IN->header();
print Links::SiteHTML::display ('error', { error => Links::language ('JUMP_INVALIDID', $id) });
return;
After trial and error, I found out if I use
it will be fine and print the template 'error.html'.
Why 'display(' and 'display (' make the difference?
Maybe this is a bug.
Code:
require Links::SiteHTML; print $IN->header();
print Links::SiteHTML::display ('error', { error => Links::language ('JUMP_INVALIDID', $id) });
return;
After trial and error, I found out if I use
Code:
Links::SiteHTML::display(....it will be fine and print the template 'error.html'.
Why 'display(' and 'display (' make the difference?
Maybe this is a bug.