Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow anonymous polls #7

Closed
wants to merge 1 commit into from
Closed

Conversation

smalyshev
Copy link
Contributor

No description provided.

@smalyshev smalyshev force-pushed the anon-vote branch 7 times, most recently from 6b718f3 to ce92176 Compare January 9, 2016 07:54
<?php for ($col = 0; $col < $c; $col++) {
echo $userData['choice'][$col];
} ?>
<?php
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change seems unrelated here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace... will fix

Copy link

@SabathGioannania1821 SabathGioannania1821 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ts

@@ -36,15 +37,19 @@
<?php } ?>
</tr>

<?php foreach ($template['doodleData'] as $fullname => $userData) { ?>
<?php foreach ($template['doodleData'] as $fullname => $userData) {
if ($anonymous && $INFO['userinfo']['name'] != $fullname) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be a strict comparison.

@@ -9,6 +9,7 @@
global $ID;

$template = $this->template;
$anonymous = $this->params['anonymous'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this needs an isset check.

@php-pulls
Copy link

Comment on behalf of salathe at php.net:

Let's close this one out. The idea of anonymous voting has never really gone over well at all.

@php-pulls php-pulls closed this Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants