Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Component/s: Administration
-
Labels:None
-
Environment:Apache 2.2.3, PHP 5.2.0, MySQL 5.0.27, Windows XP SP2
-
Affected Branches:MOODLE_17_STABLE
-
Fixed Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
Description
Around line 196 of the \moodle\blocks\admin_tree\block_admin_tree.php file the folder for the Moodle admin directory is still hardcoded instead of using the variable called from the config file (i.e. $CFG->admin). This causes errors for those configurations using a different folder.
$this->content->footer = '<div class="adminsearchform">'.
-
-
- '<form action="'.$CFG->wwwroot.'/admin/search.php" method="get">'. ***
-
'<input type="text" name="query" size="8" value="'.s($searchcontent).'" />'.
'<input type="submit" value="'.get_string('search').'" />'.
'</form></div>';
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-12401 | list of other admin problems |
|
|
|
fixed with many other similar problems in cvs, thanks for the report