lol fix the ysf affiliation stats since dave moved the committee members over to the new system

This commit is contained in:
james 2007-12-05 04:21:57 +00:00
parent a749cb80ab
commit 9ea749ceb9

View File

@ -232,7 +232,7 @@
$stats["proj910"]=$projs["910"]?$projs["910"]:0;
$stats["proj11up"]=$projs["11up"]?$projs["11up"]:0;
$q=mysql_query("SELECT COUNT(id) AS num FROM committees_members WHERE deleted='N'");
$q=mysql_query("SELECT COUNT(id) AS num FROM users WHERE types LIKE '%committee%' AND deleted='no'");
$r=mysql_fetch_object($q);
$numcommittee=$r->num;
echo i18n("Committee Members: %1 (note: this is CURRENT number of active committee members as of right now! There is no way to extract committee member numbers from previous years)",array($r->num));