Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2009 at 01:54 UTC
Updated:
21 Dec 2009 at 07:00 UTC
// Set the defaults. Not all modules implement the full api
if (!isset($info->path)) {
$info->path = drupal_get_path('module', $module);
}
elseif (file_exists('./'. $info->path .'/'. $module .'.activity.inc')) {
require_once './'. $info->path .'/'. $module .'.activity.inc';
}
Probably should be
// Set the defaults. Not all modules implement the full api
if (!isset($info->path)) {
$info->path = drupal_get_path('module', $module);
}
// Include the activity file.
if (file_exists('./'. $info->path .'/'. $module .'.activity.inc')) {
require_once './'. $info->path .'/'. $module .'.activity.inc';
}
Comments
Comment #1
ajayg commentedThis may be partially working. It definitely closed the error mentioned in Activity2 and UR integration but still access api not working.
Comment #2
Bilmar commentedsubscribing
Comment #3
Scott Reynolds commentedThis def fixed a bug. Committed and fix
http://drupal.org/cvs?commit=298938