Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Navigation

Bug PHPFusion 6.01.12: polls_archive.php

Last updated on 13 years ago
BastiBasti
Posted 13 years ago
Hi, I just found another little bug:

Line 39:
   $data = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='$viewpoll_id' AND poll_ended!='0'");


should be

   $result = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='$viewpoll_id' AND poll_ended!='0'");



And I hope, you got my PM:

Quote

The register.php of the Update-Package is not uptodate. Only the register.php of the Full-Package is uptodate!!

The file of the update- pack is from 18.10.07 16:29 and the file from the Full-package from 19.10.07 13:43


Digi, please update again :)
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
Edited by Basti on 19-10-2007 17:10, 13 years ago
WanaboWanabo
Posted 13 years ago
This works OK for polls_archive.php

Thanks slaughter.
www.probemyip.com/probe-my-ip-80x15.png pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
BastiBasti
Posted 13 years ago
no problem ;)
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
D
dewa5227
Posted 13 years ago
it's right in CVS ChangeLog, but dunno why it different with the code browser though ~_~

in ChangeLog :
Replaced Line 38 with:
$result = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='".$_POST['viewpoll_id']."' AND poll_ended!='0'");
if (dbrows($result)) {
   $data = dbarray($result);


in the code browser show different :
$data = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='$viewpoll_id' AND poll_ended!='0'");
if (dbrows($result)) {
$data = dbarray($result);
Edited by dewa5227 on 19-10-2007 17:53, 13 years ago
BastiBasti
Posted 13 years ago
Oh, I didn't see that the CVS is right. Normally the CVS is wrong and the files are right :D

Here I have uploaded the Update-Package:
http://basti2web.de/infusions/pro_dow...php?did=34
Latest Changes of register.php and polls_archive.php included.
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
BastiBasti
Posted 13 years ago
Did somebody from the PHPFusion Crew update the package???
I did not read anything in the news or news comments!
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
KorcsiiKorcsii
Posted 13 years ago
Digitanium
Last Visit: Oct 19 2007 at 15:24:45
:|
Former Senior Developer (v7.02) and Hungarian Translator
I
is_m@il
Posted 13 years ago
Thanks slaughter.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.