Skip to content

Commit

Permalink
regression fix edit help document to display associated page name ins…
Browse files Browse the repository at this point in the history
…tead of only page id#
  • Loading branch information
dleffler committed Mar 24, 2017
1 parent 0e78151 commit 11f1b87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/modules/help/controllers/helpController.php
Expand Up @@ -184,7 +184,8 @@ public function edit() {
foreach ($helplocs as $helploc) {
if (!empty($helploc)) {
$helpsrc = expUnserialize($helploc);
$sectionlist[$helpsrc->src] = $db->selectValue('sectionref', 'section', 'module = "help" AND source="' . $helpsrc->src . '"');
$id = $db->selectValue('sectionref', 'section', 'module = "help" AND source="' . $helpsrc->src . '"');
$sectionlist[$helpsrc->src] = '(' . $id . ') ' . $db->selectValue('section', 'name', 'id="' . $id . '"');
}
}
$sectionlist[$this->loc->src] .= ' '.gt("(current section)");
Expand Down

0 comments on commit 11f1b87

Please sign in to comment.