Update _widget.htm

fixed partial throwing exception when no $rows are available