We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2695a6c8 authored by Jonas Haraldsson's avatar Jonas Haraldsson

fix unban action

parent 133ac87c
......@@ -91,7 +91,7 @@ if ($page->section == 'music') {
$smarty->display('user-library-loved.tpl');
} else if ($page->section == 'banned') {
if (isset($_POST['banned'])) {
if (isset($_POST['unban'])) {
$track = new Track($_POST['track'], $_POST['artist']);
$track->unban($this_user->uniqueid);
$nocache = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment