I believe this is a boolean option so you do not need "> 0".  As long as userdeletemessage will ideally not have more than one option then we can remove the item above.

<?php if ($config->userdeletetmessage) : ?>