|
|
@@ -331,6 +331,7 @@ class Zend_Amf_Parse_Amf3_Deserializer extends Zend_Amf_Parse_Deserializer
|
|
|
// Add the Object ot the reference table
|
|
|
$this->_referenceObjects[] = $returnObject;
|
|
|
|
|
|
+ $properties = array(); // clear value
|
|
|
// Check encoding types for additional processing.
|
|
|
switch ($encoding) {
|
|
|
case (Zend_Amf_Constants::ET_EXTERNAL):
|
|
|
@@ -354,7 +355,6 @@ class Zend_Amf_Parse_Amf3_Deserializer extends Zend_Amf_Parse_Deserializer
|
|
|
);
|
|
|
}
|
|
|
// not a refrence object read name value properties from byte stream
|
|
|
- $properties = array(); // clear value
|
|
|
do {
|
|
|
$property = $this->readString();
|
|
|
if ($property != "") {
|
|
|
@@ -377,7 +377,6 @@ class Zend_Amf_Parse_Amf3_Deserializer extends Zend_Amf_Parse_Deserializer
|
|
|
'propertyNames' => $propertyNames,
|
|
|
);
|
|
|
}
|
|
|
- $properties = array(); // clear value
|
|
|
foreach ($propertyNames as $property) {
|
|
|
$properties[$property] = $this->readTypeMarker();
|
|
|
}
|