If 0 fix bookkeeping php

Never read value if 0.