Requires CCK internal function, but is not dependent upon CCK

Chris Johnson - May 8, 2008 - 10:41
Project:GMap Lat/Lon
Version:5.x-0.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If one enables the gmap_latlon module without having CCK installed and enabled, one gets this error:

Fatal error: Call to undefined function _content_field_types() in /var/www/versions/d5/sites/all/modules/gmap_latlon/gmap_latlon.module on line 42

Although it may seem obvious that this module requires the CCK module, the dependencies do not list CCK. Actually, they don't seem to list anything. They're listed in the .info file, but do not show up programmatically in Admin->Modules.

Ah, it's a typo. The .info file says "depends" instead of "dependencies".

#1

Chris Johnson - May 8, 2008 - 10:52

Here's a patch.

AttachmentSize
gmap_latlon.info.patch 565 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.