JSON encode the values

This commit is contained in:
Lukas Reschke 2016-07-20 22:47:33 +02:00
parent ba4f12baa0
commit adf67fac96
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class Throttler {
'occurred' => $this->timeFactory->getTime(), 'occurred' => $this->timeFactory->getTime(),
'ip' => $ip, 'ip' => $ip,
'subnet' => $this->getSubnet($ip), 'subnet' => $this->getSubnet($ip),
'metadata' => $metadata, 'metadata' => json_encode($metadata),
]; ];
$this->logger->notice( $this->logger->notice(