From 11f1b875a735b5310150e574bda9f924921e7ea2 Mon Sep 17 00:00:00 2001 From: dleffler Date: Fri, 24 Mar 2017 10:37:20 -0400 Subject: [PATCH] regression fix edit help document to display associated page name instead of only page id# --- framework/modules/help/controllers/helpController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/modules/help/controllers/helpController.php b/framework/modules/help/controllers/helpController.php index f0cdc772d9..596de096cc 100755 --- a/framework/modules/help/controllers/helpController.php +++ b/framework/modules/help/controllers/helpController.php @@ -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)");