Fix PHP error "Only variables should be passed by reference"

--HG--
branch : develop
hg/feature/light_cycle
kaetemi 10 years ago
parent 70ace8b7d4
commit ef2415257b

@ -86,9 +86,10 @@
}
else
{
$this->serialUInt32(strlen($val));
$valLen = strlen($val);
$this->serialUInt32($valLen);
$this->Buffer .= $val;
$this->Pos += strlen($val);
$this->Pos += $valLen;
debug(sprintf ("write string '%s' %d<br>\n", $val, $this->Pos));
}
}

Loading…
Cancel
Save