Issue Details (XML | Word | Printable)

Key: MDL-15927
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Juan Segarra Montesinos
Votes: 0
Watchers: 1
Operations

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

Question image not shown

Created: 04/Aug/08 04:14 PM   Updated: 04/Aug/08 10:17 PM
Return to search
Component/s: Questions
Affects Version/s: 1.9.2
Fix Version/s: None

Issue Links:
Duplicate
 

Participants: Juan Segarra Montesinos and Tim Hunt
Security Level: None
Resolved date: 04/Aug/08
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Question image is not shown. Problem is in function get_question_image().

Change the following line:

$img = get_file_url("$courseid/{$question->image}");

by

$img = get_file_url("$coursefilesdir/{$question->image}");

Thanks in advance :)

   Juan.




 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt added a comment - 04/Aug/08 09:07 PM
This is a duplicate of MDL-15792. Please search for existing bug reports before creating a new one. Also, it was a newly introduced regression in 1.9.2, it did not affect 1.9 or 1.9.1

Finally, it has already been fixed. Please upgrade to 1.9.2+


Juan Segarra Montesinos added a comment - 04/Aug/08 10:17 PM
Oops. Sorry i didn't find that report...

Thanks