From 04c919f32d9d9365c5af1d1cada819c3803993af Mon Sep 17 00:00:00 2001 From: Viktor Pedersen <viktor@dsv.su.se> Date: Wed, 8 Sep 2021 11:16:17 +0200 Subject: [PATCH] bug searching --- include/Product.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/Product.php b/include/Product.php index d84ec1d..5b3d7d0 100644 --- a/include/Product.php +++ b/include/Product.php @@ -140,7 +140,9 @@ class Product extends Entity { } } } + if($matchAll && array_diff_assoc($terms, $matches)) { + var_dump(array_diff_assoc($terms, $matches)); return array(); } return $matches;