Clean code

This commit is contained in:
daraelmin 2022-12-26 22:59:39 +01:00 committed by GitHub
parent 5d09076a8f
commit 7a15e61849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,8 +98,7 @@ class box_members_by_tags extends ModeleBoxes
$stats = new AdherentStats($this->db, $user->socid, $user->id);
// Show array
$sumMembers= $stats->countMembersByTagAndStatus($tag_id, $numberyears);
echo "<pre>";print_r($sumMembers);echo "</pre>";
$sumMembers= $stats->countMembersByTagAndStatus($numberyears);
if ($sumMembers) {
$line = 0;
$this->info_box_contents[$line][] = array(