Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Fixed can't pass by reference bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
hperrin committed Mar 24, 2015
1 parent e358a20 commit 3341921
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MessageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ public function onMessage(WebSocketTransportInterface $user, WebSocketMessageInt
$entityData = $data['entity']['data'];
$entityData['cdate'] = $data['entity']['cdate'];
$entityData['mdate'] = $data['entity']['mdate'];
$entitySData = [];

if ($options['class'] === $data['entity']['class'] && \Nymph\Nymph::checkData($entityData, [], $selectors, $data['guid'], $data['entity']['tags'])) {
if ($options['class'] === $data['entity']['class'] && \Nymph\Nymph::checkData($entityData, $entitySData, $selectors, $data['guid'], $data['entity']['tags'])) {
// Update currents list.
$oldCurrents = $curClients['current'];
$guidArgs = unserialize($curQuery);
Expand Down

0 comments on commit 3341921

Please sign in to comment.