realted to #1916 re-introduced check_pwg_token for sort action

This commit is contained in:
MatthieuLP
2023-05-15 15:57:00 +02:00
parent d4f75b95e5
commit 7c1a1afc2d
+1 -1
View File
@@ -25,7 +25,7 @@ list($albums_counter) = pwg_db_fetch_row(pwg_query($query));
// +-----------------------------------------------------------------------+
check_status(ACCESS_ADMINISTRATOR);
if (isset($_GET['delete']))
if (!empty($_POST) or isset($_GET['delete']))
{
check_pwg_token();
}