|
Lines 244-251
sub XSLTParse4Display {
Link Here
|
| 244 |
} |
244 |
} |
| 245 |
my $extracontent = ''; |
245 |
my $extracontent = ''; |
| 246 |
my $location; |
246 |
my $location; |
| 247 |
my $branch = C4::Context->userenv->{branch} || ''; |
247 |
my $branch = C4::Context->userenv && C4::Context->userenv->{branch}; |
| 248 |
my $lang = C4::Languages::getlanguage; |
248 |
$branch //= ''; |
|
|
249 |
my $lang = C4::Languages::getlanguage; |
| 249 |
|
250 |
|
| 250 |
if ( $xslsyspref eq "XSLTDetailsDisplay" ) { |
251 |
if ( $xslsyspref eq "XSLTDetailsDisplay" ) { |
| 251 |
$location = 'StaffDetailPage'; |
252 |
$location = 'StaffDetailPage'; |
| 252 |
- |
|
|