diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-01-15 07:14:14 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-01-15 07:14:14 +0000 |
commit | 2e9bbda79198879adba89eda98e4a4867d9d3cd9 (patch) | |
tree | 3aebddf5e83e94737c5891978c5443c3ccae77c2 /includes/form.inc | |
parent | 3329ad927c93b86587ec6ef3b7804ddcf1948384 (diff) | |
download | brdo-2e9bbda79198879adba89eda98e4a4867d9d3cd9.tar.gz brdo-2e9bbda79198879adba89eda98e4a4867d9d3cd9.tar.bz2 |
- #44772: {} -> [] (in anticipation of PHP de-deprecation)
Diffstat (limited to 'includes/form.inc')
-rw-r--r-- | includes/form.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc index 16a465266..174f68432 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -19,7 +19,7 @@ * Check if the key is a property. */ function element_property($key) { - return $key{0} == '#'; + return $key[0] == '#'; } function element_properties($element) { @@ -30,7 +30,7 @@ function element_properties($element) { * Check if the key is a child. */ function element_child($key) { - return $key{0} != '#'; + return $key[0] != '#'; } function element_children($element) { |