diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-11 17:29:50 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-11 17:29:50 +0000 |
| commit | 3a01c25a5bc004ed758c4852cfc1f888fbec5b12 (patch) | |
| tree | bebf37cdd724a3a178409132e3dcca8cf744c608 /roundcubemail/program | |
| parent | 7de99230cdc816fe1c3985b2fd303d1b43619d84 (diff) | |
- added strtoupper() wrapper
git-svn-id: https://svn.roundcube.net/trunk@2147 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_shared.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc index b0eabc420..244225ca9 100644 --- a/roundcubemail/program/include/rcube_shared.inc +++ b/roundcubemail/program/include/rcube_shared.inc @@ -362,6 +362,17 @@ function rc_strtolower($str) } /** + * Wrapper function for strtoupper + */ +function rc_strtoupper($str) +{ + if (function_exists('mb_strtoupper')) + return mb_strtoupper($str); + else + return strtoupper($str); +} + +/** * Wrapper function for substr */ function rc_substr($str, $start, $len=null) |
