Install check error

Miguel.Andrade - February 12, 2009 - 14:19
Project:Export DocBook
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

In the install code:

if (!array_search($needed, $extensions))

should be:

if (array_search($needed, $extensions)===FALSE)

Because if the extension is at position "0" in the array, then it reports it's missing.

#1

robertDouglass - November 23, 2009 - 16:05
Version:HEAD» 5.x-1.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.