Skip to content

Commit 1f63b44

Browse files
committed
Add option to set platform string - add missing ''
1 parent b73c3ea commit 1f63b44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Smartsupp/ChatGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public function render($print_out = false)
403403
}
404404

405405
if ($this->platform) {
406-
$params[] = "_smartsupp.sitePlatform = " . self::javascriptEscape($this->platform) . ";";
406+
$params[] = "_smartsupp.sitePlatform = '" . self::javascriptEscape($this->platform) . "';";
407407
}
408408

409409
// set detailed visitor's info

0 commit comments

Comments
 (0)