Fixed a php notice.