iwa-panda2

Manage Weather Data by International Weather Agency (Version 2)
Log | Files | Refs | README

commit 64b5ddad856ab74701a28d22d6062e7cd6c9d32d
parent 54c5b2d8a6cb7d66e8454569b9f8ce8c0117f1a7
Author: Friedel Schön <[email protected]>
Date:   Wed, 28 Jun 2023 20:06:00 +0200

$user_add -> $add_user fix

Diffstat:
Mindex.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php @@ -21,7 +21,7 @@ if(isset($_SESSION['user_permissions']) && in_array(1, $_SESSION['user_permissio //user //add $router->addRoute(["GET"], "/user/add", "views/add_user.html"); - $router->addRoute(["POST"], "/user/add", $user_add); + $router->addRoute(["POST"], "/user/add", $add_user); //dashboard $router->addRoute(["GET"], "/dashboard", function (&$vars) {