diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-24 17:28:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-24 17:28:27 +0000 |
commit | dca92900fbf0b938ae735883ff9bebfc8342e58c (patch) | |
tree | 5bc5e54dfea9e49c2ee680d39209222b3f037175 /includes/utility.inc | |
parent | de9d0049a4c1bb02ab76dad82f321b278056e27f (diff) | |
download | brdo-dca92900fbf0b938ae735883ff9bebfc8342e58c.tar.gz brdo-dca92900fbf0b938ae735883ff9bebfc8342e58c.tar.bz2 |
- Patch #850152 by kiamlaluno: use 'elseif' in place of 'else if'.
Diffstat (limited to 'includes/utility.inc')
-rw-r--r-- | includes/utility.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/utility.inc b/includes/utility.inc index 438389d12..8bd78904f 100644 --- a/includes/utility.inc +++ b/includes/utility.inc @@ -31,10 +31,10 @@ function drupal_var_export($var, $prefix = '') { $output .= ')'; } } - else if (is_bool($var)) { + elseif (is_bool($var)) { $output = $var ? 'TRUE' : 'FALSE'; } - else if (is_string($var)) { + elseif (is_string($var)) { $line_safe_var = str_replace("\n", '\n', $var); if (strpos($var, "\n") !== FALSE || strpos($var, "'") !== FALSE) { // If the string contains a line break or a single quote, use the |