Skip to content

Commit

Permalink
Fixed no data shown for products with recurring profiles (#3910)
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano authored Mar 29, 2024
1 parent 79a75fc commit 4af8e48
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Unserialize/Reader/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class Unserialize_Reader_Str
*/
public function read($char, $prevChar)
{

if (is_null($this->_status) && $prevChar == Unserialize_Parser::SYMBOL_COLON) {
$this->_status = self::READING_LENGTH;
}
Expand All @@ -67,8 +66,7 @@ public function read($char, $prevChar)

if ($this->_status == self::READING_VALUE) {
if (is_null($this->_value)) {
$this->_value = $char;
return null;
$this->_value = '';
}

if (strlen($this->_value) < $this->_length) {
Expand Down

0 comments on commit 4af8e48

Please sign in to comment.