diff --git a/src/Controller/Frontend/Review/Standard.php b/src/Controller/Frontend/Review/Standard.php index e2aa42d..812d271 100644 --- a/src/Controller/Frontend/Review/Standard.php +++ b/src/Controller/Frontend/Review/Standard.php @@ -216,7 +216,7 @@ public function create( array $vals = [] ) : \Aimeos\MShop\Review\Item\Iface public function delete( $ids ) : Iface { $ids = (array) $ids; - $filter = $this->manager->filter()->add( ['review.id' => $ids] ); + $filter = $this->manager->filter()->add( ['review.id' => $ids, 'review.customerid' => $this->context()->user()] ); $this->manager->delete( $this->manager->search( $filter->slice( 0, count( $ids ) ) )->toArray() ); return $this;