Fixed a php warning.