diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-05-09 11:22:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-05-09 11:22:35 +0000 |
commit | 821a625c0f1e984b303a3d9280ed040c701b3a34 (patch) | |
tree | be704d414f53f2dbd0f7083a361bf7107085c437 /security/base/files/patch-includes__base_state_common.inc.php | |
parent | - Update to 1.9.2 (diff) |
- Update to 1.4.5
PR: 145635
Submitted by: olli hauer <ohauer@gmx.de>
Diffstat (limited to 'security/base/files/patch-includes__base_state_common.inc.php')
-rw-r--r-- | security/base/files/patch-includes__base_state_common.inc.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/base/files/patch-includes__base_state_common.inc.php b/security/base/files/patch-includes__base_state_common.inc.php new file mode 100644 index 000000000000..d39b08ef196c --- /dev/null +++ b/security/base/files/patch-includes__base_state_common.inc.php @@ -0,0 +1,11 @@ +--- ./includes/base_state_common.inc.php.orig 2010-03-05 16:06:18.000000000 +0100 ++++ ./includes/base_state_common.inc.php 2010-04-11 23:52:13.000000000 +0200 +@@ -181,7 +181,7 @@ + if ( ($valid_data & VAR_SCORE) > 0 ) + $regex_mask = $regex_mask . "\-"; + +- return ereg_replace("[^".$regex_mask."]", "", $item); ++ return preg_replace("/[^".$regex_mask."]/", "", $item); + } + + /* *********************************************************************** |