related to ##1887 added security verifications for the delete action

This commit is contained in:
MatthieuLP
2023-03-27 15:18:20 +02:00
parent 9d3e9bc3cd
commit 6b6ce95a58
+5
View File
@@ -25,6 +25,11 @@ list($albums_counter) = pwg_db_fetch_row(pwg_query($query));
// +-----------------------------------------------------------------------+
check_status(ACCESS_ADMINISTRATOR);
if (!empty($_POST) or isset($_GET['delete']))
{
check_pwg_token();
}
// +-----------------------------------------------------------------------+
// | tabs |
// +-----------------------------------------------------------------------+