diff --git a/admin/fundraising_campaigns.php b/admin/fundraising_campaigns.php index 162386ed..94b6601e 100644 --- a/admin/fundraising_campaigns.php +++ b/admin/fundraising_campaigns.php @@ -215,8 +215,8 @@ switch($_GET['action']){ AND status='received' ORDER BY datereceived DESC"); while($r=mysql_fetch_object($q)) { $goal=getGoal($r->fundraising_goal); - $q=mysql_query("SELECT * FROM sponsors WHERE id='{$r->sponsors_id}'"); - $sponsor=mysql_fetch_object($q); + $sq=mysql_query("SELECT * FROM sponsors WHERE id='{$r->sponsors_id}'"); + $sponsor=mysql_fetch_object($sq); echo "