projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9aa367
)
Fix preserving individual variables.
author
Jan Schneider
<jan@horde.org>
Tue, 8 Dec 2009 18:49:20 +0000
(19:49 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 8 Dec 2009 21:21:40 +0000
(22:21 +0100)
framework/Ui/lib/Horde/Ui/Widget.php
patch
|
blob
|
history
diff --git
a/framework/Ui/lib/Horde/Ui/Widget.php
b/framework/Ui/lib/Horde/Ui/Widget.php
index
d897818
..
37d3655
100644
(file)
--- a/
framework/Ui/lib/Horde/Ui/Widget.php
+++ b/
framework/Ui/lib/Horde/Ui/Widget.php
@@
-85,7
+85,7
@@
abstract class Horde_Ui_Widget
public function preserve($var, $value = null)
{
if (!is_array($var)) {
- $var = array($var);
+ $var = array($var
=> $value
);
}
foreach ($var as $key => $value) {