summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index f11baba74..7ebaa0b68 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -79,6 +79,7 @@ class User extends MY_Controller {
$userid = $this->muser->get_userid();
$comment = $this->input->post("comment");
+ $comment = $comment === false ? "" : $comment;
$access_level = $this->input->post("access_level");
if ($access_level === false) {