diff --git a/app/Controllers/Api/Images/Upload.php b/app/Controllers/Api/Images/Upload.php index b57ea88..0b3615b 100644 --- a/app/Controllers/Api/Images/Upload.php +++ b/app/Controllers/Api/Images/Upload.php @@ -45,7 +45,7 @@ class Upload array( 'type' => 'none', 'copyright' => $_POST['license'], - 'comment' => $_POST['comment'], + 'comment' => $_POST['descr'], ) ); self::$photourl = $upload->getSrc(); diff --git a/views/components/Navbar.php b/views/components/Navbar.php index 612e194..58542e0 100644 --- a/views/components/Navbar.php +++ b/views/components/Navbar.php @@ -64,7 +64,7 @@ $user = new \App\Models\User(Auth::userid());