avoid adding useless class attribute for all html tags if no class is required

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 2.1.9
    • Component/s: Frontend (F)

      While checking the html source of the zabbix frontend I noticed that all and every html tag had a class attribute, empty in many occasions. Out of curiosity I tried to find why, and noticed that it could be easily fixed;

      • in include/classes/class.ctag.php
      • enclose line 67 (in version 2.1.9) in a if (!is_null($class)) { }

            Assignee:
            Unassigned
            Reporter:
            Mose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: