diff options
author | Andrew Dolgov <[email protected]> | 2006-12-07 10:27:34 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-12-07 10:27:34 +0100 |
commit | d62a3b6349e5bd5c7bf860e5c5a8a27b7aa1d89b (patch) | |
tree | 794d30c1e388c9fbbc9f72c90fb298d7ba81dd27 /functions.php | |
parent | 3fd7138fc22de45e4be31568e8ff04883d221329 (diff) |
add tag dropbox to tag editor
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 84b863e70..5fe75c288 100644 --- a/functions.php +++ b/functions.php @@ -3039,4 +3039,14 @@ return $tags; } + function trim_value(&$value) { + $value = trim($value); + } + + function trim_array($array) { + $tmp = $array; + array_walk($tmp, 'trim_value'); + return $tmp; + } + ?> |