Open GoogleCodeExporter opened 8 years ago
[deleted comment]
yeah i noticed that too.
I used a while rather than a for loop though, this way you don't have to
hardcode a max number of arguments :
- for($i=0; $i<100; $i++)
+ while($arg = $deserializer->readAMFData())
- $args[] = $deserializer->readAMFData();
+ $args[] = $arg;
Also, it "fixes" the invokes but breaks the response to calls.
You could tweak it with :
if($this->commandName == "_result")
$this->arguments = $args[0];
else
$this->arguments = $args;
But it stays a tweak
Original comment by contact....@gmail.com
on 2 May 2012 at 11:26
Original issue reported on code.google.com by
dro...@gmail.com
on 25 Mar 2011 at 11:16