From 5e0e15bb1ca97e33815ba7f14645ec6dc9a575f6 Mon Sep 17 00:00:00 2001 From: Killian <killian.delarue@gmail.com> Date: Fri, 6 Dec 2019 23:04:34 +0100 Subject: [PATCH] set accepted --- htdocs/match_script.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/match_script.php b/htdocs/match_script.php index 12a6daa..e307f8e 100644 --- a/htdocs/match_script.php +++ b/htdocs/match_script.php @@ -54,6 +54,7 @@ function print_requests($users,$requests){ if (isset($_POST['accept'])){ echo "Demande accepté"; + set_accepted(); } else{ @@ -93,6 +94,11 @@ function print_requests($users,$requests){ } +} + +function set_accepted(){ + + } ?> -- GitLab