mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 02:04:35 +02:00
Fix issue processwire/processwire-issues#1671
This commit is contained in:
@@ -1668,7 +1668,7 @@ class Sanitizer extends Wire {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($options['stripQuotes']) {
|
if($options['stripQuotes']) {
|
||||||
$value = str_replace(array('"', "'"), (is_string($options['stripQuotes']) ? $options['strip_quotes'] : ''), $value);
|
$value = str_replace(array('"', "'"), (is_string($options['stripQuotes']) ? $options['stripQuotes'] : ''), $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($options['trim']) {
|
if($options['trim']) {
|
||||||
|
Reference in New Issue
Block a user