Update JHtmlField-helper-dataset.php

added patch-7 here.