PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.0
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
← All changes | Modules/Integrations/FluentCart/Http/Controllers/PaywallController.php +1 -1 2.9.02.10.0 View file →
@@ -140,9 +140,9 @@
140 140 }
141 141
142 142 public function searchProduct(Request $request)
143 143 {
144 - $search = trim($request->getSafe('search'));
144 + $search = trim((string) $request->getSafe('search', 'sanitize_text_field', ''));
145 145
146 146 $products = Product::query()
147 147 ->select('ID', 'post_title')
148 148 ->when($search !== '', function ($query) use ($search) {