projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
validator.w3.org fails if id attribute contains brackets
[squirrelmail.git]
/
functions
/
strings.php
diff --git
a/functions/strings.php
b/functions/strings.php
index a6e3852a065f467f28d5d24adbabe5f07ac63a03..5f99b3858ae5c01653d317c51e4d3ffe0c8de2ad 100644
(file)
--- a/
functions/strings.php
+++ b/
functions/strings.php
@@
-1280,4
+1280,13
@@
function sq_count8bit($string) {
return $count;
}
+/**
+ * Callback function to trim whitespace from a value, to be used in array_walk
+ * @param string $value value to trim
+ * @since 1.5.2 and 1.4.7
+ */
+function sq_trim_value ( &$value ) {
+ $value = trim($value);
+}
+
?>