From 3fac640bdaf4ca25c83f0dd2b2d71bc0a547fa0b Mon Sep 17 00:00:00 2001 From: NaufalArdanni <54439087+NaufalArdanni@users.noreply.github.com> Date: Mon, 9 Oct 2023 12:16:15 +0700 Subject: [PATCH] fix: edit description --- src/App/components/profile/EditProfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/components/profile/EditProfile.php b/src/App/components/profile/EditProfile.php index 0a2b6b8..263508f 100644 --- a/src/App/components/profile/EditProfile.php +++ b/src/App/components/profile/EditProfile.php @@ -44,7 +44,7 @@ <th>Description</th> <td> <textarea name="description"> - <?= $this->data['description'] ?> + <? echo isset($data['description']) ? $data['description'] : ''; ?> </textarea> </td> </tr> -- GitLab