projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f761947
)
Fix warning if no form field parameters are set.
author
Jan Schneider
<jan@horde.org>
Sat, 26 Jun 2010 14:03:37 +0000
(16:03 +0200)
committer
Jan Schneider
<jan@horde.org>
Sat, 26 Jun 2010 14:03:37 +0000
(16:03 +0200)
whups/lib/Ticket.php
patch
|
blob
|
history
diff --git
a/whups/lib/Ticket.php
b/whups/lib/Ticket.php
index
c0b0d3e
..
5b07809
100644
(file)
--- a/
whups/lib/Ticket.php
+++ b/
whups/lib/Ticket.php
@@
-994,6
+994,9
@@
class TicketDetailsForm extends Horde_Form {
if (substr($field, 0, 10) == 'attribute_' &&
isset($attributes[substr($field, 10)])) {
$attribute = $attributes[substr($field, 10)];
+ if (!$attribute['params']) {
+ $attribute['params'] = array();
+ }
$var = &$this->addVariable(
$attribute['human_name'],
'attribute_' . $attribute['id'],