Skip to content

Commit 1c29952

Browse files
committed
pipeline p4
1 parent f97aff6 commit 1c29952

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Http/Controllers/PreferenceController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,12 @@ private function clean(mixed &$value)
180180
{
181181
if (ConfigHelper::isXssCleanEnabled()) {
182182
if (is_string($value)) {
183-
$value = GrahamCampbell\SecurityCore\Security::create()->clean($value);
183+
$value = \GrahamCampbell\SecurityCore\Security::create()->clean($value);
184184
} elseif (is_iterable($value)) {
185185
foreach ($value as &$item) {
186186
if (is_string($item)) {
187-
$item = GrahamCampbell\SecurityCore\Security::create()->clean($item);
187+
188+
$item = \GrahamCampbell\SecurityCore\Security::create()->clean($item);
188189
}
189190
}
190191
unset($item);

0 commit comments

Comments
 (0)