From d3c3bd0c33bee23ddacca6729358aa39e57f1a4e Mon Sep 17 00:00:00 2001 From: wyd621 Date: Sat, 28 Sep 2013 05:41:15 +0000 Subject: [PATCH] * fix a bug for comment is only image. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index bd29c42eb6..f9644aec76 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -39,7 +39,7 @@ class actionModel extends model $action->actor = $actor ? $actor : $this->app->user->account; $action->action = strtolower($actionType); $action->date = helper::now(); - $action->comment = trim(strip_tags($comment)) ? $comment : ''; + $action->comment = trim(strip_tags($comment, "")) ? $comment : ''; $action->extra = $extra; /* Get product and project for this object. */