Issue Details (XML | Word | Printable)

Key: MDL-14924
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: bouley Hélène
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

a php error occurs when we use a plugin_install function .

Created: 20/May/08 10:15 PM   Updated: 17/Feb/09 03:21 PM
Return to search
Component/s: Installation
Affects Version/s: 1.9, 1.9.1
Fix Version/s: 1.9.5

Environment: all - php 5.2

Participants: bouley Hélène, Petr Skoda and Tim Hunt
Security Level: None
QA Assignee: Tim Hunt
Resolved date: 07/Feb/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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.'!');
                            }
}

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 07/Feb/09 08:15 PM
fixed, thanks!

Tim Hunt added a comment - 17/Feb/09 03:21 PM
Good fix. Thanks all.

(I assume the later commits actually belong to another bug.)