Issue Details (XML | Word | Printable)

Key: MDL-15563
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dongsheng Cai
Reporter: Terri Matsakis
Votes: 0
Watchers: 2
Operations

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

adminroot undefined in /admin/mnet/mnet_themes.php

Created: 08/Jul/08 12:27 AM   Updated: 22/Jul/08 08:19 PM
Return to search
Component/s: Networking
Affects Version/s: 1.9.1
Fix Version/s: 1.9.3

File Attachments: 1. Text File MDL-15563.patch (3 kB)

Environment: Linux, php 4.3.10

Database: MySQL
URL: .../admin/mnet/mnet_themes.php?step=list&hostid=4
Participants: Dongsheng Cai, Eloy Lafuente (stronk7), Petr Skoda and Terri Matsakis
Security Level: None
QA Assignee: Petr Skoda
Resolved date: 09/Jul/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Error message:
Notice: Undefined variable: adminroot in .../moodle/admin/mnet/mnet_themes.html on line 2

To reproduce, turn on networking, create a host to connect to in Admin->Networking->Peers. After saving the host, when the tabs appear at the top, select the "Themes" tab.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dongsheng Cai committed 2 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 09/Jul/08 05:31 PM
MDL-15563, fix undefined variable in this page, and debugging information.
MODIFY admin/mnet/mnet_themes.php   Rev. 1.1.2.2    (+2 -3 lines)
MODIFY admin/mnet/mnet_themes.html   Rev. 1.1.2.1    (+9 -10 lines)
Dongsheng Cai committed 2 files to 'Moodle CVS' - 09/Jul/08 05:32 PM
MDL-15563, fix undefined variable and debugging information.
MODIFY admin/mnet/mnet_themes.html   Rev. 1.2    (+13 -14 lines)
MODIFY admin/mnet/mnet_themes.php   Rev. 1.4    (+2 -4 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 10/Jul/08 09:50 AM
MDL-15563, use require instead of require_once, see tracker.
MODIFY admin/mnet/mnet_themes.php   Rev. 1.1.2.3    (+1 -1 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 10/Jul/08 09:53 AM
MDL-15563, use require instead require_once, see tracker.
MODIFY admin/mnet/mnet_themes.php   Rev. 1.5    (+1 -1 lines)