diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-07-07 00:18:13 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-07-07 00:18:13 +0000 |
commit | 434e44174ab3689a15d0d23deeaa191c6695fcf8 (patch) | |
tree | 0a7dde6079f7493b1865820450cfe2243a902a13 /views | |
parent | bd0fb6d30186d70105a4df10f4dbb1a86f3f6952 (diff) | |
download | elgg-434e44174ab3689a15d0d23deeaa191c6695fcf8.tar.gz elgg-434e44174ab3689a15d0d23deeaa191c6695fcf8.tar.bz2 |
Changed $tag to $element in html5 input/default which was causing inputs to not be displayed
Diffstat (limited to 'views')
-rw-r--r-- | views/default/input/default.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/views/default/input/default.php b/views/default/input/default.php index 59ad357e7..050e3b765 100644 --- a/views/default/input/default.php +++ b/views/default/input/default.php @@ -50,9 +50,6 @@ $defaults = array( $attributes = array_merge($defaults, $vars);
-$attributes['value'] = htmlspecialchars($attributes['value'], ENT_QUOTES, 'UTF-8');
-
-
//Build the input
$element = array();
@@ -61,11 +58,10 @@ foreach ($attributes as $attr => $val) { if ($val === TRUE) {
$element[] = $attr;
} elseif ($val !== FALSE) {
- $val = addslashes($val);
$element[] = "$attr=\"$val\"";
}
}
$element[] = $js;
$element[] = "/>";
-echo implode(" ", $tag);
\ No newline at end of file +echo implode(" ", $element);
\ No newline at end of file |