We should be using module_load_include() instead of require_once(drupal_get_path('module', 'sheetnode') . '/socialcalc.inc'); to load the include file.

I will attach a patch shortly.

Comments

willhallonline created an issue. See original summary.

willhallonline’s picture

Issue summary: View changes
willhallonline’s picture

All instances of:

require_once(drupal_get_path('module', 'sheetnode') . '/socialcalc.inc');

Replaced with

module_load_include('inc', 'sheetnode', 'socialcalc');

willhallonline’s picture

Status: Active » Needs review

  • willhallonline committed 2051a01 on 7.x-1.x
    Issue #2631668 by willhallonline: Replace require_once() with...
willhallonline’s picture

Status: Needs review » Fixed
willhallonline’s picture

Status: Fixed » Closed (fixed)