ZP-690 Remove extra count. Released under the Affero GNU General Public License (AGPL) version 3.

parent 80c61fc1
......@@ -293,7 +293,7 @@ class Streamer implements Serializable {
if ($encoder->getMultipart() && isset($map[self::STREAMER_PROP]) && $map[self::STREAMER_PROP] == self::STREAMER_TYPE_MULTIPART) {
$encoder->addBodypartStream($this->$map[self::STREAMER_VAR]);
$encoder->startTag(SYNC_ITEMOPERATIONS_PART);
$encoder->content(count($encoder->getBodypartsCount()));
$encoder->content($encoder->getBodypartsCount());
$encoder->endTag();
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment