mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 07:58:44 +00:00
Fix PHP error "Only variables should be passed by reference"
This commit is contained in:
parent
80105b365c
commit
04c57350d9
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue