Posted by perforator on October 13, 2008 at 3:32pm
3 followers
Jump to:
| Project: | Webform |
| Version: | 6.x-2.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
At line 1091
<?php
theme('webform_view_messages', $node, $teaser, $page, $submission_count, $limit_exceeded, $allowed_roles);
?>$submission_count is not defined for anon. users.
Triggers a php notice for me
At line 2013
<?php
$replace = array($user->name, $user->mail, variable_get('site_name', 'drupal'), format_date(time(), 'large'));
?>$user->name and $user->mail are not defined for not logged-in users.
It only spawns a php notice: undefined property for stdClass for me.
Clearly this is only a minor issue if at all. I'm using CVS DRUPAL 6.6-dev.
Thanks
Comments
#1
I believe these were fixed in #337578: 3 x undefined variable/index errors + coder style cleanup.
#2
Automatically closed -- issue fixed for two weeks with no activity.