Corrent perl err: Found = in conditional, should be ==

at /www/cgi/munin-cgi-html line 226.

Declare $sth_cat outside of condition