summaryrefslogtreecommitdiff
path: root/modules/poll/poll.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-18 00:56:06 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-18 00:56:06 -0700
commite30853303f6ef852e6d8f46ce07c9e8af14de63b (patch)
tree7a7c7c1351c86fffdedb34ce772d8d9867ea2c6f /modules/poll/poll.module
parentdafc861fa3b0bf474524f04b9d9d1b7bfe67d27f (diff)
downloadbrdo-e30853303f6ef852e6d8f46ce07c9e8af14de63b.tar.gz
brdo-e30853303f6ef852e6d8f46ce07c9e8af14de63b.tar.bz2
Issue #348448 follow-up by jbrown: Coding standard fixes to E_STRICT tests.
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r--modules/poll/poll.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 561e160c4..861969573 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -486,7 +486,7 @@ function poll_load($nodes) {
$poll = db_query("SELECT runtime, active FROM {poll} WHERE nid = :nid", array(':nid' => $node->nid))->fetchObject();
if (empty($poll)) {
- $poll = new stdClass;
+ $poll = new stdClass();
}
// Load the appropriate choices into the $poll object.