We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095f02a commit 4844cefCopy full SHA for 4844cef
action/edit.php
@@ -98,8 +98,11 @@ protected function createForm($tablename) {
98
if(isset($postdata[$label])) {
99
// posted data trumps stored data
100
$data = $postdata[$label];
101
- if (is_array($data)) $data = array_map("cleanText", $data);
102
- else $data = cleanText($data);
+ if (is_array($data)) {
+ $data = array_map("cleanText", $data);
103
+ } else {
104
+ $data = cleanText($data);
105
+ }
106
$field->setValue($data, true);
107
}
108
$html .= $this->makeField($field, self::$VAR . "[$tablename][$label]");
0 commit comments