diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-06-18 03:36:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-06-18 03:36:24 +0000 |
commit | 6e2358b23208ef7e2119d95b0cea1537d9a863c8 (patch) | |
tree | b8bf1811f88615c35d40c540c3070269cc9ed1e6 /includes/unicode.inc | |
parent | 0889c01d21ded9b07b117868d12b1032d7c9317c (diff) | |
download | brdo-6e2358b23208ef7e2119d95b0cea1537d9a863c8.tar.gz brdo-6e2358b23208ef7e2119d95b0cea1537d9a863c8.tar.bz2 |
- Patch #270045 by drewish, Susurrus: clean up return values.
Diffstat (limited to 'includes/unicode.inc')
-rw-r--r-- | includes/unicode.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/unicode.inc b/includes/unicode.inc index cb3b0a8fc..93a522d09 100644 --- a/includes/unicode.inc +++ b/includes/unicode.inc @@ -121,7 +121,7 @@ function unicode_requirements() { * @param &$data * The XML data which will be parsed later. * @return - * An XML parser object. + * An XML parser object or FALSE on error. */ function drupal_xml_parser_create(&$data) { // Default XML encoding is UTF-8 @@ -149,7 +149,7 @@ function drupal_xml_parser_create(&$data) { } else { watchdog('php', 'Could not convert XML encoding %s to UTF-8.', array('%s' => $encoding), WATCHDOG_WARNING); - return 0; + return FALSE; } } |