Update Object.php

Correct changed data preparation