[drupal-devel] [bug] system_theme_listing() passes scalar to drupal_attributes()

darix drupal-devel at drupal.org
Sat May 14 21:07:11 UTC 2005


Issue status update for http://drupal.org/node/22883

 Project:      Drupal
 Version:      cvs
 Component:    system.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  darix
 Updated by:   darix
 Status:       patch
 Attachment:   http://drupal.org/files/issues/system.module_6.patch (1.36 KB)

system_theme_listing() passes scalar to drupal_attributes(). this patch
fixes it and wraps the params into array()


i really wonder if drupal_attributes() should check for the type of the
param?
how expensive is an is_array()?




darix




More information about the drupal-devel mailing list