[pmwiki-users] ryevote

Peter K.H. Gragert p.k.h.gragert at misc.utwente.nl
Wed Sep 3 09:40:44 CDT 2008


I tried to use http://www.pmwiki.org/wiki/Cookbook/RyeVoting

(:ryevote db=Page.Name votename=vote_a:)

Gives this warning/ error, with as consequence showing no vote at all.
Warning: Invalid argument supplied for foreach() in
C:\web\xampp\htdocs\pkhg\cookbook\ryevote.php on line 174


L 174:             foreach($data['ryevote'][$pargs['votename']] as $set =>
$id) { 

The $data data-structure is deeper nested
$data['ryevote'][????][$pargs['votename']] is missing as well as the
following code  has to be adjusted?

Someone uses ryevote  after 2007-07-14 ? (lates
v0.7_2007-07-14.php>  ?) without the  problem mentioned?





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080903/9358782d/attachment.html 

More information about the pmwiki-users mailing list