Notice suppressed

It's good practice to have no notices in any php script so I made a minor change to remove this annoying notices.