mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
fixes #1956 array_pop only takes input variable by reference
This commit is contained in:
1 parent
d09f2cc3c8
commit
da7fa96033
1 file changed
+2
-1
@@ -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