Panel: Fixed compatibility with PHP 5.3

Broken in d1e8bf5828b1bfacb16cb88576e2d45e954f1100.