There is an error in notify.module which causes errors if the file is not stored in the root of the modules directory.

On line 23, the notify.inc file is included by looking up the correct path:

include_once drupal_get_path('module', 'notify') . '/notify.inc';

However, two further inclusions of the notify.inc file on lines 48 and 57 include the file by hardcoded path:

include_once 'modules/notify/notify.inc';

As I store all the modules that I download myself in a separate 'contrib' folder to keep them separate from the drupal-supplied modules, this causes an error when I try to do certain things.

Lines 48 and 57 need modifying to match line 23 to correct this problem.

Regards
David Gee

Comments

RobRoy’s picture

Status: Active » Fixed

Fixed. Thanks.

RobRoy’s picture

Status: Fixed » Closed (fixed)