From 6185b412a4c12ab041ad87faf372e7793a34927b Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 27 Apr 2022 17:10:26 +0200 Subject: Fix PCD-1 --- admin/projects/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin') diff --git a/admin/projects/index.php b/admin/projects/index.php index 78e2b04..39b7710 100755 --- a/admin/projects/index.php +++ b/admin/projects/index.php @@ -48,6 +48,7 @@ if (isset($_GET['submit'])) { if (isset($projects[(int)$_GET["edit-project"]])) { $projects[(int)$_GET["edit-project"]]["name"] = $_GET["edit-project-name"]; $projects[(int)$_GET["edit-project"]]["description"] = $_GET["edit-project-description"]; + $projects[(int)$_GET["edit-project"]]["source"] = $_GET["edit-project-source"]; $projects[(int)$_GET["edit-project"]]["icon"] = $_GET["edit-project-icon"]; file_put_contents($_SERVER["DOCUMENT_ROOT"] . "/data/projects.json", json_encode($projects, JSON_PRETTY_PRINT)); header("Location: /admin/projects"); -- cgit