@@ -132,9 +132,9 @@ |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | // If unserialize failed, try to fix and retry |
135 | - $callback = function ($matches) { |
|
135 | + $callback = function($matches) { |
|
136 | 136 | $matches[2] = trim(preg_replace('/\s\s+/', ' ', $matches[2])); |
137 | - return 's:' . mb_strlen($matches[2]) . ':"' . $matches[2] . '";'; |
|
137 | + return 's:'.mb_strlen($matches[2]).':"'.$matches[2].'";'; |
|
138 | 138 | }; |
139 | 139 | |
140 | 140 | $data = preg_replace_callback('!s:(\d+):"(.*?)";!s', $callback, $data); |