Commit aebbbf16 authored by jonnybradley's avatar jonnybradley

[FIX] auto_query_args for browse cats

parent dfc41867
......@@ -19,6 +19,9 @@ if ($tiki_p_view_category != 'y') {
$auto_query_args = array('deep', 'sort_mode', 'offset', 'find', 'type', 'parentId');
// Check for parent category or set to 0 if not present
if (!isset($_REQUEST["parentId"])) {
$_REQUEST["parentId"] = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment