Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Reviews/comments delete button url fix

givanzc553dca94053
diff --git a/admin/controller/content/comments.php b/admin/controller/content/comments.php
index d49bc92..4cc9431 100755
--- a/admin/controller/content/comments.php
+++ b/admin/controller/content/comments.php
@@ -99,7 +99,7 @@ class Comments extends Listing {
$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);
- $comment['delete-url'] = \Vvveb\url(['module' => "$module/$list", 'action' => 'delete'] + $url);
+ $comment['delete-url'] = \Vvveb\url(['module' => "$module/$listController", 'action' => 'delete'] + $url);
$comment['approve-url'] = \Vvveb\url(['newstatus' => 1] + $url);
$comment['spam-url'] = \Vvveb\url(['newstatus' => 2] + $url);
$comment['trash-url'] = \Vvveb\url(['newstatus' => 3] + $url);