Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Hello,
I have a display error on my profile.
I don’t know almost anything about code but here is all the data I can give you !!
—————————–
——————————
maybe you need this to resolve……
else if ( $this->count_user_posts($user_id,$t) >= $k && $t!=’roles’) {
if (!isset($badges_acquired[$t])) {
$highest_num = $k;
$badges_acquired[$t] = $arr;
} else {
if ($k > $highest_num) {
$badges_acquired[$t] = $arr;
$highest_num = $k;
}
}
}
}
}
}
// merge and display
if (isset($badges_acquired)){
$badges = array_merge( $badges, $badges_acquired );
}
// show them
if (isset($badges) && is_array($badges)){
return $badges;
} else {
return ”;
}
}
———————————————————-
Thks to help me !
You must be logged in to reply to this topic.