diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-02-09 15:35:38 +0000 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-02-09 15:35:38 +0000 |
commit | 43888b523919f816e45a956a2e9f7d10416067df (patch) | |
tree | 49bf78b32826b33d2abc2b838e1a8d3dc8fb5655 /lib/htmloutputter.php | |
parent | a476805dd96cf31af5331be5245a6d0af4d90dae (diff) |
trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown.
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 7780b1c19..e2319b1fd 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -255,7 +255,7 @@ class HTMLOutputter extends XMLOutputter foreach ($content as $value => $option) { if ($value == $selected) { $this->element('option', array('value' => $value, - 'selected' => $value), + 'selected' => 'selected'), $option); } else { $this->element('option', array('value' => $value), $option); |