mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-03 20:12:44 +02:00
fixes #1956 array_pop only takes input variable by reference
This commit is contained in:
@@ -111,7 +111,8 @@ SELECT id, name, permalink
|
||||
$output = '';
|
||||
if ($single_link)
|
||||
{
|
||||
$single_url = add_url_params(get_root_url().$url.array_pop(explode(',', $uppercats)), $add_url_params);
|
||||
$uppercats_array = explode(',', $uppercats);
|
||||
$single_url = add_url_params(get_root_url().$url.array_pop($uppercats_array), $add_url_params);
|
||||
$output.= '<a href="'.$single_url.'"';
|
||||
if (isset($link_class))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user