Fix wishlist title
This commit is contained in:
parent
4c5bafe1b2
commit
c13e5d38c9
1 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,11 @@ class Wishlist
|
||||||
$this->exists = true;
|
$this->exists = true;
|
||||||
|
|
||||||
foreach ($columns as $key => $value) {
|
foreach ($columns as $key => $value) {
|
||||||
$this->$key = $value;
|
if ('string' === gettype($value)) {
|
||||||
|
$this->$key = Sanitiser::render($value);
|
||||||
|
} else {
|
||||||
|
$this->$key = $value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue