PHP 5.3 fix in OpeningHours