fix prod escaping

This commit is contained in:
aina-esokia
2018-11-22 14:32:42 +04:00
parent 06e30750e4
commit c58ed45333
4 changed files with 6 additions and 6 deletions

View File

@@ -597,7 +597,7 @@ class PushController extends Controller
private function formatUser(User $user)
{
$subtitle = array_filter([$user->getJob(), $user->getCompany()]);
$subtitle = array_filter([htmlspecialchars($user->getJob()), htmlspecialchars($user->getCompany())]);
return [
'type' => 'USER',