Closed (fixed)
Project:
Webform
Version:
6.x-2.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2008 at 15:32 UTC
Updated:
25 Jan 2009 at 05:20 UTC
At line 1091
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
$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
Comment #1
quicksketchI believe these were fixed in #337578: 3 x undefined variable/index errors + coder style cleanup.