Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-190

(Fix) Typo in triggers.inc.php

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F)
    • None

      There's a typo "repeate" in triggers.inc.php, I don't even know if it has any effect, I can't spot one.. anyways, here's the fix:

      --------------------------------8<--------------------------------
      svn diff -rBASE trunk/frontends/php/include/triggers.inc.php
      Index: trunk/frontends/php/include/triggers.inc.php
      ===================================================================
      — trunk/frontends/php/include/triggers.inc.php (revision 5116)
      +++ trunk/frontends/php/include/triggers.inc.php (working copy)
      @@ -1894,11 +1894,11 @@
      if((time(NULL)-$trhosts[$hostname]['lastchange'])<300)
      $style .= 'background-image: url(images/gradients/blink1.gif); '.
      'background-position: top left; '.

      • 'background-repeat: repeate;';
        + 'background-repeat: repeat;';
        elseif((time(NULL)-$trhosts[$hostname]['lastchange'])<900)
        $style .= 'background-image: url(images/gradients/blink2.gif); '.
        'background-position: top left; '.
      • 'background-repeat: repeate;';
        + 'background-repeat: repeat;';

      unset($item_menu);
      $tr_ov_menu = array(
      --------------------------------8<--------------------------------

            alexei Alexei Vladishev
            freak Sebastian Raible
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: