summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-06-20 08:46:16 +0000
committerthomascube <thomas@roundcube.net>2008-06-20 08:46:16 +0000
commit6ea6c9b96e33f0c6616ff270cc5b81efe216a209 (patch)
tree4a377687aa807a699db1791f42b4e8c5d8a1d7c6 /program/include/main.inc
parent9f6adf92647e729ad1dd796447f9d4cf9859fe7a (diff)
Simplify step inclusion in controller (index.php)
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 2740ee35d..a29978a5e 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -475,7 +475,7 @@ function get_input_value($fname, $source, $allow_html=FALSE, $charset=NULL)
*/
function asciiwords($str)
{
- return preg_replace('/[^a-z0-9.-_]/i', '', $str);
+ return preg_replace('/[^a-z0-9._-]/i', '', $str);
}
/**