Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fix for user avatar image path
givanz6294de98cdc3
diff --git a/admin/controller/content/comments.php b/admin/controller/content/comments.phpindex 4cc9431..b708693 100755--- a/admin/controller/content/comments.php+++ b/admin/controller/content/comments.php@@ -96,6 +96,10 @@ class Comments extends Listing {$comment['image'] = Images::image($type, $comment['image']);}+ if (isset($comment['avatar'])) {+ $comment['avatar'] = Images::image($comment['avatar'], 'user');+ }+$url = ['module' => "$module/$listController", 'action' => 'save', 'status' => $status, $type . '_id' => $comment[$type . '_id']];$postUrl = ['module' => "$module/$controller", $type . '_id' => $comment[$type . '_id']];$comment['edit-url'] = \Vvveb\url($postUrl);