diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-04-15 05:22:30 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-04-15 05:22:30 -0700 |
| commit | c58b2aaf88d9b92880bcec1419793edca9acb6fb (patch) | |
| tree | d04bbf149874b14173956cb896991a9e8a8a2b96 /modules/gallery/libraries | |
| parent | 9bb4c954bbc10e71a695b57f7e8979a140f4873f (diff) | |
| parent | 8d8aefc5b83b4b814e3f6bd14866b817c1dbb7d0 (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/libraries')
| -rw-r--r-- | modules/gallery/libraries/MY_Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/MY_Input.php b/modules/gallery/libraries/MY_Input.php index 703136c7..1d5949e8 100644 --- a/modules/gallery/libraries/MY_Input.php +++ b/modules/gallery/libraries/MY_Input.php @@ -26,6 +26,6 @@ class Input extends Input_Core { * @return string */ public function clean_input_keys($str) { - return preg_replace('#^[\pL0-9:_.-]++$#uD', '_', $str); + return preg_replace('#[^a-zA-Z0-9:_.-]+#', '_', $str); } } |
