Ad Widget

Collapse

[1.3.5 / 1.3.4] Cosmetic change (year 2006 / 2007)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #1

    [1.3.5 / 1.3.4] Cosmetic change (year 2006 / 2007)

    Hi,

    this is just a cosmetic change in report4.php.
    We started using ZABBIX this year (2007), but the report4 (Notification)
    still uses 2006 as the default year.

    Here is the "patch":

    Code:
    *** report4.php.orig      Mon Apr 16 19:26:56 2007
    --- report4.php   Tue Apr 17 10:04:14 2007
    ***************
    *** 38,44 ****
            check_fields($fields);
      ?>
      <?php
    !       $year           = get_request("year",           2006);
            $period         = get_request("period",         "weekly");
            $media_type     = get_request("media_type",     0);
      ?>
    --- 38,44 ----
            check_fields($fields);
      ?>
      <?php
    !       $year           = get_request("year",           2007);
            $period         = get_request("period",         "weekly");
            $media_type     = get_request("media_type",     0);
      ?>
    Regards,

    Norbert.
Working...