Don't display empty preference sections
authorMark Holmquist <mtraceur@member.fsf.org>
Tue, 16 Jul 2013 03:51:08 +0000 (20:51 -0700)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 14 Aug 2013 20:26:33 +0000 (20:26 +0000)
commitd51f688f81b4daef4aa585cb4a839f57a58ce717
treeac999b097b48e9527a67a064fc75b8562a579598
parent740d87661f49cb4730acf2d713810b03f82b798b
Don't display empty preference sections

If a preference section has only hidden or API preferences, there are no
contents. So it would be silly to display a section heading for it,
since the user cannot see anything inside.

Change-Id: Ia1d89032c45a06c5103e50d90f3ef147213dd571
includes/HTMLForm.php