Issue Details (XML | Word | Printable)

Key: MDL-17877
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tim Hunt
Reporter: Howard Miller
Votes: 0
Watchers: 3
Operations

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

Undefined property: stdClass::$id in /.../lib/accesslib.php on line 4727

Created: 13/Jan/09 07:43 PM   Updated: 21/Jan/09 04:58 PM
Return to search
Component/s: Roles
Affects Version/s: 1.9.3
Fix Version/s: 1.9.4

Participants: Helen Foster, Howard Miller, MurielB and Tim Hunt
Security Level: None
QA Assignee: Helen Foster
Resolved date: 14/Jan/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
I just did an upgrade on my 1.9 test site to build 2007101533.01 and Moodle is now throwing the above notice hundreds of times on every page. It's this bit of code...

4718
4719 //error_log(" Record: " . print_r($user,1));
4720
4721 //
4722 // Pagination controls
4723 // Note that we might end up removing a user
4724 // that ends up _not_ having the rights,
4725 // therefore rolling back $c
4726 //
4727 if ($lastuserid != $user->id) {
4728

Granted, it could be a local issue on my test site, but I thought I'd better report it to be safe!!


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 14/Jan/09 01:45 PM
admin settings: MDL-17877 Remember to pass u.id to get_users_by_capability.
MODIFY lib/adminlib.php   Rev. 1.153.2.61    (+2 -2 lines)
tjhunt committed 1 file to 'Moodle CVS' - 14/Jan/09 01:45 PM
admin settings: MDL-17877 Remember to pass u.id to get_users_by_capability.
MODIFY lib/adminlib.php   Rev. 1.315    (+3 -3 lines)