Skip to content

Commit

Permalink
0x02 -> \MongoBinData::BYTE_ARRAY
Browse files Browse the repository at this point in the history
  • Loading branch information
myurasov committed Aug 15, 2012
1 parent 70a64bd commit ac0fb48
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -104,7 +104,7 @@ public function write($sessionId, $data)
{
$data = array(
$this->options['id_field'] => $sessionId,
$this->options['data_field'] => new \MongoBinData($data, 0x02),
$this->options['data_field'] => new \MongoBinData($data, \MongoBinData::BYTE_ARRAY),
$this->options['time_field'] => new \MongoTimestamp()
);

Expand Down

0 comments on commit ac0fb48

Please sign in to comment.