Commit 910da3a3 authored by Karsten Gohm's avatar Karsten Gohm
Browse files

remove error_log

parent 670b930c
......@@ -1380,7 +1380,6 @@ function vote_poll_process($poll_id, $poll_aid_array = [])
$i = 0;
foreach ($poll_aid_array as $polla_aid) {
error_log(__LINE__);
$update_polla_votes = $wpdb->query( "UPDATE $wpdb->pollsa SET polla_votes = (polla_votes + 1) WHERE polla_qid = $poll_id AND polla_aid = $polla_aid" );
if (!$update_polla_votes) {
unset($poll_aid_array[$i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment