From 3515fdd024c35589e6f411ab9d77bb0936bfa57e Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Thu, 15 Feb 2024 16:32:19 -0600 Subject: [PATCH] Replays: Properly error out if user isn't logged in --- replay.pokemonshowdown.com/replay-manage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/replay.pokemonshowdown.com/replay-manage.php b/replay.pokemonshowdown.com/replay-manage.php index 5cd1114923..d6ff5c9099 100644 --- a/replay.pokemonshowdown.com/replay-manage.php +++ b/replay.pokemonshowdown.com/replay-manage.php @@ -150,6 +150,8 @@ function userid($username) { $replay['private'] = intval($_POST['private']); $Replays->edit($replay); echo '
Edited.
'; + } else { + echo 'Editing privacy to '.$_POST['private']. 'failed. '; } ?> Change privacy: