fix syntax error

syntax error, unexpected ')' in include/ws_functions/pwg.php
This commit is contained in:
Thibautg16
2022-10-16 22:14:31 +02:00
committed by MatthieuLP
parent ba08bffcb2
commit 555133294d
+3 -3
View File
@@ -829,13 +829,13 @@ SELECT id, uppercats
{ {
$full_cat_path[$category_id] = get_cat_display_name_cache( $full_cat_path[$category_id] = get_cat_display_name_cache(
$uppercats, $uppercats,
'admin.php?page=album-', 'admin.php?page=album-'
); );
$uppercats = explode(",", $uppercats); $uppercats = explode(",", $uppercats);
$name_of_category[$category_id] = get_cat_display_name_cache( $name_of_category[$category_id] = get_cat_display_name_cache(
end($uppercats), end($uppercats),
'admin.php?page=album-', 'admin.php?page=album-'
); );
} }
} }
@@ -1063,4 +1063,4 @@ SELECT
'summary' => $search_summary 'summary' => $search_summary
); );
} }
?> ?>