Fixed php error for 0 lines