[Blog]: Fixed error in php 5.3
[Layout]: Fixed strange php error