Commit 0185a22f authored by Janur J.'s avatar Janur J.
Browse files

Bugfix in common statistics hook

parent 3f085a82
......@@ -384,7 +384,7 @@ $statistics['directory'] = array(
],
[
'title' => iaLanguage::get('categories'),
'value' => number_format((int)$iaDb->one(iaDb::STMT_COUNT_ROWS, $condition . ' AND `_pid` != 0', 'categs'))
'value' => number_format((int)$iaDb->one(iaDb::STMT_COUNT_ROWS, $condition . ' AND `parent_id` != 0', 'categs'))
]
);
]]>
......
Supports Markdown
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