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 made changes - 07/Feb/09 08:15 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 1.9.5 [ 10320 ]
Assignee Eloy Lafuente (stronk7) [ stronk7 ] Petr ?koda [ skodak ]
Resolution Fixed [ 1 ]
Tim Hunt made changes - 17/Feb/09 03:21 PM
Status Resolved [ 5 ] Closed [ 6 ]
QA Assignee timhunt