aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-27 17:10:26 +0200
committerMinteck <contact@minteck.org>2022-04-27 17:10:26 +0200
commit6185b412a4c12ab041ad87faf372e7793a34927b (patch)
tree451e80d89430cdeb74258d8dbd23b770e7e76f9b /admin
parent823daba76e353f7b70ab315575a33560d668da00 (diff)
downloadcloudsdale-6185b412a4c12ab041ad87faf372e7793a34927b.tar.gz
cloudsdale-6185b412a4c12ab041ad87faf372e7793a34927b.tar.bz2
cloudsdale-6185b412a4c12ab041ad87faf372e7793a34927b.zip
Fix PCD-1
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/projects/index.php1
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");