Issue Details (XML | Word | Printable)

Key: MDL-10089
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Adriane Boyd
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

Cannot delete questions from question bank

Created: 12/Jun/07 04:31 AM   Updated: 12/Jun/07 07:14 PM
Component/s: Questions
Affects Version/s: 1.9
Fix Version/s: 1.9

Participants: Adriane Boyd and Tim Hunt
Security Level: None
Resolved date: 12/Jun/07
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Responding "Yes" to the question deletion confirmation dialog returns you to the question bank page without deleting the question because $USER is not defined on line 480 of question/editlib.php.

To fix:

Index: question/editlib.php
===================================================================
RCS file: /cvsroot/moodle/moodle/question/editlib.php,v
retrieving revision 1.68
diff -r1.68 editlib.php
404c404
< global $COURSE;

> global $COURSE, $USER;



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt added a comment - 12/Jun/07 07:14 PM
Thanks Adriane. Fix checked in.