From a57f236b6fff5cfded6beddf59b7f74c8fa30d21 Mon Sep 17 00:00:00 2001 From: radiskull Date: Sat, 7 Jan 2012 13:29:42 +0000 Subject: [PATCH] =?UTF-8?q?getResult()=20hat=20sich=20mit=20der=20Methode?= =?UTF-8?q?=20aus=20den=20clanfights.inc.php=20=C3=BCberschnitten,=20wurde?= =?UTF-8?q?=20in=20=20getPollResult()=20umbenannt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ag/include/pollfunctions.inc.php | 2 +- ag/umfrage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ag/include/pollfunctions.inc.php b/ag/include/pollfunctions.inc.php index 3d4a504..dc0e936 100644 --- a/ag/include/pollfunctions.inc.php +++ b/ag/include/pollfunctions.inc.php @@ -77,7 +77,7 @@ function getCommentCount($pollid){ return $temp[anzahl]; } -function getResult($pollid){ +function getPollResult($pollid){ $returnArray = array(); $sql = 'SELECT text, pv.polloptionid, count(pv.polloptionid) as anzahl FROM poll_votes as pv inner join poll_options as po on pv.polloptionid = po.polloptionid and pv.pollid = po.pollid where pv.pollid = '.$pollid.' group by polloptionid'; $qry = mysql_query($sql); diff --git a/ag/umfrage.php b/ag/umfrage.php index 2512795..1eaf70c 100644 --- a/ag/umfrage.php +++ b/ag/umfrage.php @@ -72,7 +72,7 @@ function stelleUmfrageDar($userid, $pollid,$pageNumber){ if($choice || !$open){ // Ja, dann einfach nur Ergebnis anzeigen - $ergebnisse = getResult($pollid); + $ergebnisse = getPollResult($pollid); ?>