Commit 80453a06 by Scott

Fix users/tags display on favorites page

parent 16df681a
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
$ranking = array( $ranking = array(
'items' => array(), 'items' => array(),
'rows' => ceil(count($users)/qa_opt('columns_users')), 'rows' => ceil(count($users)/qa_opt('columns_users')),
'type' => 'users', 'type' => 'top-users',
); );
foreach ($users as $user) { foreach ($users as $user) {
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
$ranking = array( $ranking = array(
'items' => array(), 'items' => array(),
'rows' => ceil(count($tags)/qa_opt('columns_tags')), 'rows' => ceil(count($tags)/qa_opt('columns_tags')),
'type' => 'tags' 'type' => 'top-tags'
); );
foreach ($tags as $tag) { foreach ($tags as $tag) {
......
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