define() used incorrectly

dragonwize - June 13, 2008 - 03:04
Project:Gravatar integration
Version:6.x-1.2
Component:Code
Category:bug report
Priority:minor
Assigned:Narno
Status:closed
Description

The define functions at the top of gravatar.module are missing the quotes around the constant names. Without the quotes PHP reads them as constants instead of the string defining the constant name.

http://us2.php.net/manual/en/function.define.php

#1

Narno - June 16, 2008 - 00:39
Assigned to:Anonymous» Narno

#2

Narno - June 19, 2008 - 23:53
Priority:normal» minor
Status:active» fixed

#3

Narno - June 30, 2008 - 23:55
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.