Issue Details (XML | Word | Printable)

Key: MDL-8431
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Vy-Shane Sin Fat
Reporter: David Herney Bernal
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

In qanda forum: Undefined property: object::$id

Created: 06/Feb/07 06:26 AM   Updated: 13/Feb/07 01:26 PM
Component/s: Forum
Affects Version/s: 1.7.1
Fix Version/s: 1.7.2, 1.8

Environment:
PHP Version 5.1.6
Moodle 1.7+ (2006101007)

Participants: David Herney Bernal and Vy-Shane Sin Fat
Security Level: None
Resolved date: 13/Feb/07
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE


 Description  « Hide
Creating post in forum qanda for student, it shows the followin message:

> Notice: Undefined property: object::$id in /...../mod/forum/post.php on line 754

The line 754 in my file is:

> if ($forum->type == 'qanda' && !has_capability('mod/forum:viewqandawithoutposting', $modcontext) &&
> !forum_user_has_posted($forum->id,$discussion->id,$USER->id)) { > notify(get_string('qandanotify','forum')); > }

I want to know if this bug has been alredy fixed



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Vy-Shane Sin Fat added a comment - 13/Feb/07 01:26 PM
Thanks! Fixed. Can you test and close this issue?