Deadwood is turning this:

  include_once './'. drupal_get_path('module', 'og_panels') .'/includes/groupcontext.inc';

into:

  module_load_module_load_include('inc', 'og_panels', ', 'og_panels', 'includes/groupcontext');

Test file: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/og/og_panel...

Causes parse errors everywhere, so marking critical.

Comments

adrian’s picture

This is no longer an issue in HEAD.

i had the same issue, but it seems fixed now.

solotandem’s picture

Assigned: Unassigned » solotandem

webchick, the code was not expecting the initial './' characters before drupal_get_path and works fine if they are removed. Are these characters proper or necessary? Do you get the same path string without these characters? All other examples I reviewed did not have these characters up front. Let me know. I will modify code if need be. Thanks.

solotandem’s picture

Status: Active » Postponed (maintainer needs more info)
solotandem’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in tonight's dev release.

Status: Fixed » Closed (fixed)

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