Fix notices

webchick - May 28, 2008 - 15:27
Project:Checkbox Validate
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When using a -dev release of Drupal core, you get...

notice: Undefined index: #type in /Applications/MAMP/htdocs/6x2/sites/all/modules/checkbox_validate/checkbox_validate.module on line 16.

...times however many modules you have in the list (lots!). This is caused by markup elements, which are the default elements and have no '#type' defined.

#1

webchick - May 28, 2008 - 15:28

Patch.

AttachmentSize
checkbox_validate-fix-notices-263755-1.patch 1021 bytes

#2

webchick - May 28, 2008 - 16:48
Title:Oodles of notices on modules page» Fix notices

#required also comes up as a notice when trying to code review modules with Coder.

AttachmentSize
checkbox_validate-fix-notices-263755-2.patch 1.04 KB

#3

Robert Castelo - May 29, 2008 - 13:50
Status:needs review» fixed

Thanks - fixed in next release.

#4

Anonymous (not verified) - June 12, 2008 - 13:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.