aboutsummaryrefslogtreecommitdiff
path: root/admin/projects
diff options
context:
space:
mode:
Diffstat (limited to 'admin/projects')
-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");