Closed (fixed)
Project:
Finder
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2009 at 20:53 UTC
Updated:
8 Jun 2011 at 16:12 UTC
The description field which is entered on the element admin page is not shown on the finder form. This simple patch appears to fix the problem.
--- /tmp/finder.form.inc 2009-11-30 15:48:06.000000000 -0500
+++ includes/finder.form.inc 2009-11-30 15:44:36.000000000 -0500
@@ -56,7 +56,7 @@
$form['finder_form'][$element->finder_element_id] = array(
'#title' => $element->title,
'#weight' => $element->weight,
- '#description' => $element->description,
+ '#description' => $element->settings['form']['description'],
'#prefix' => check_markup($element->settings['form']['prefix'], $element->settings['form']['prefix_format'], FALSE),
'#suffix' => check_markup($element->settings['form']['suffix'], $element->settings['form']['prefix_format'], FALSE),
'#default_value' => $element_default,
Comments
Comment #1
danielb commentedI will change it as you said.
Comment #2
danielb commentedComment #3
tedfordgif commentedThanks!