Problem/Motivation

module_load_include() tries to load a file which does not exist.

Steps to reproduce

ls

Proposed resolution

Fix the call.

Remaining tasks

Review, commit

User interface changes

None

API changes

None

Data model changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jacob.embree created an issue. See original summary.

paulocs’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
FileSize
36.89 KB

Indeed the file is properly loaded only if .inc is removed from the file name. Otherwise the module_load_include returns FALSE and it means that the file was not loaded successfully.

jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

  • jacob.embree authored 4b9bc3e on 8.x-5.x
    Issue #3239238 by jacob.embree, paulocs: Incorrect call to...

  • jacob.embree authored 4b9bc3e on 6.x
    Issue #3239238 by jacob.embree, paulocs: Incorrect call to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.