Commit 97deb01
Since php 7.2, count a number will generate a warning. Because
$results['hits']['total'] is a number we can just compare it to zero.
`if ($results['hits']['total'] === 0)`
1 parent 12c8d2f commit 97deb01
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments