Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9, 1.9.1
-
Fix Version/s: 1.9.5
-
Component/s: Installation
-
Labels:None
-
Environment:all - php 5.2
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
a php error occurs when we use a plugin_install function .
lib/adminlib.ph - line 160 we should have $plugin -> name instead of $module -> name
if (function_exists($installfunction)) {
if (! $installfunction() ) {
notify('Encountered a problem running install function for '.$module->name.'!');
}
}
fixed, thanks!