From 11f775493d0935a413bf5b0de981b2fa6401255f Mon Sep 17 00:00:00 2001 From: Viktor Pedersen <viktor@dsv.su.se> Date: Wed, 8 Sep 2021 14:49:03 +0200 Subject: [PATCH] testing search function --- include/Product.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/Product.php b/include/Product.php index 398735c..2475145 100644 --- a/include/Product.php +++ b/include/Product.php @@ -145,10 +145,14 @@ class Product extends Entity { // print('=== DEBUG $terms ===<br>'); // var_dump($terms); // print('<br><br>'); + + print('=== DEBUG diff $terms and $matches ===<br>'); + var_dump($array_diff_assoc($terms, $matches)); + print('<br><br>'); print('=== DEBUG $matches ===<br>'); var_dump($matches); print('<br><br>'); - // var_dump(array_diff_assoc($terms, $matches)); + return array(); } return $matches;