Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
8f733385
Commit
8f733385
authored
May 04, 2009
by
tbrehm
Browse files
Fixed: FS#719 - Bachslashes were removed from filter rules.
parent
e1bf06f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform.inc.php
View file @
8f733385
...
...
@@ -160,11 +160,11 @@ class tform {
foreach
(
$this
->
formDef
[
'tabs'
][
$tab
][
'fields'
]
as
$key
=>
$field
)
{
switch
(
$field
[
'datatype'
])
{
case
'VARCHAR'
:
$new_record
[
$key
]
=
stripslashes
(
$record
[
$key
]
)
;
$new_record
[
$key
]
=
$record
[
$key
];
break
;
case
'TEXT'
:
$new_record
[
$key
]
=
stripslashes
(
$record
[
$key
]
)
;
$new_record
[
$key
]
=
$record
[
$key
];
break
;
case
'DATE'
:
...
...
@@ -186,7 +186,7 @@ class tform {
break
;
default
:
$new_record
[
$key
]
=
stripslashes
(
$record
[
$key
]
)
;
$new_record
[
$key
]
=
$record
[
$key
];
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment