aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/www/include/base
diff options
context:
space:
mode:
authorM.Gergo2020-01-12 12:53:59 +0100
committerM.Gergo2020-01-12 12:53:59 +0100
commit7891f65fb7544f3b1a126f8e0688889d6a6954f3 (patch)
tree9c5a1122a1e3aba3de81f888dafed14a1cb78282 /mayor-orig/mayor-base/www/include/base
parent502843a035833f82321ed990ada1eda23612ed92 (diff)
downloadmayor-rev4589.tar.gz
mayor-rev4589.zip
Rev: 4589rev4589
Diffstat (limited to 'mayor-orig/mayor-base/www/include/base')
-rw-r--r--mayor-orig/mayor-base/www/include/base/var.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mayor-orig/mayor-base/www/include/base/var.php b/mayor-orig/mayor-base/www/include/base/var.php
index 3068fbc6..fda47dd2 100644
--- a/mayor-orig/mayor-base/www/include/base/var.php
+++ b/mayor-orig/mayor-base/www/include/base/var.php
@@ -50,7 +50,7 @@
$return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9_\-]/i",'',$IN) : $default;
break;
case 'html':
- $return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9\ \.\,?_|:;űáéúőóüöíŰÁÉÚŐÓÜÖÍ\-]/i",'',$IN) : $default;
+ $return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9\ \.\,?_|:;űáäéúőóüöíŰÁÄÉÚŐÓÜÖÍ\-]/i",'',$IN) : $default;
break;
case 'hexa':
$return = preg_replace("/[^0-9a-fA-F]/i",'',$IN);
@@ -76,7 +76,7 @@
$return = filter_var($IN, FILTER_VALIDATE_EMAIL);
break;
case 'userAccount':
- $return = (preg_match("#([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáéúőóüöíŰÁÉÚŐÓÜÖÍäÄ]|-|@)*$#", $IN) != false) ? $IN : $default;
+ $return = (preg_match("#([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáäéúőóüöíŰÁÄÉÚŐÓÜÖÍäÄ]|-|@)*$#", $IN) != false) ? $IN : $default;
break;
default:
$return = $IN;