ZenphotoCMS Forum
Question (potential bug) in zp_handle_comment - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Question (potential bug) in zp_handle_comment (/thread-2712.html)



Question (potential bug) in zp_handle_comment - ulfben - 2008-04-20

Can someone please tell me why we do if (isset($_POST['remember'])) $stored[3] = true; when a user fails to comment?

($stored is: array($_POST['name'], $_POST['email'], $website, $_POST['comment'], false);)

I ran into that question a while back - hacked a workaround - but never got an answer. I'm working with a similar issue today, and would really like to know if this is an erroneous line of code, or if there's a reason for setting the comment data to "1"...

Thanks!




Question (potential bug) in zp_handle_comment - ulfben - 2008-04-22

Updating for completeness: is has been confirmed an error. More information in this discussion on trac.