Fix for notice PHP when viewing only h:m