We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69328af commit 2873903Copy full SHA for 2873903
controller/search.php
@@ -392,7 +392,7 @@ protected function generate_general_query($type, $contrib_id)
392
*/
393
protected function generate_contrib_query($versions, $categories, $search_subcategories)
394
{
395
- if (!empty($categories) && (sizeof($categories) != 1 || $categories[0] != 0))
+ if (!empty($categories) && (count($categories) != 1 || $categories[0] != 0))
396
397
// Grab the children
398
if ($search_subcategories)
0 commit comments