diff options
author | Minteck <contact@minteck.org> | 2022-04-27 17:10:26 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-27 17:10:26 +0200 |
commit | 6185b412a4c12ab041ad87faf372e7793a34927b (patch) | |
tree | 451e80d89430cdeb74258d8dbd23b770e7e76f9b /admin | |
parent | 823daba76e353f7b70ab315575a33560d668da00 (diff) | |
download | cloudsdale-6185b412a4c12ab041ad87faf372e7793a34927b.tar.gz cloudsdale-6185b412a4c12ab041ad87faf372e7793a34927b.tar.bz2 cloudsdale-6185b412a4c12ab041ad87faf372e7793a34927b.zip |
Fix PCD-1
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/projects/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |