浏览代码

Fixed new month not being used for different year.

pull/24/head
Teknikode 6 年前
父节点
当前提交
50451af0cb
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      transparency/main.php

+ 3
- 3
transparency/main.php 查看文件

@@ -232,7 +232,7 @@
$transaction_currency = (isset($transaction['currency'])) ? $transaction['currency'] : "";
$new_month_tag = false;
if ($current_month != date("F",strtotime($transaction_date)))
if ($current_month != date("F",strtotime($transaction_date)) || $current_year != date("Y",strtotime($transaction_date)))
{
$new_month_tag = true;
}
@@ -297,7 +297,7 @@
$transaction_currency = (isset($transaction['currency'])) ? $transaction['currency'] : "";
$new_month_tag = false;
if ($current_month != date("F",strtotime($transaction_date)))
if ($current_month != date("F",strtotime($transaction_date)) || $current_year != date("Y",strtotime($transaction_date)))
{
$new_month_tag = true;
}
@@ -362,7 +362,7 @@
$transaction_currency = (isset($transaction['currency'])) ? $transaction['currency'] : "";
$new_month_tag = false;
if ($current_month != date("F",strtotime($transaction_date)))
if ($current_month != date("F",strtotime($transaction_date)) || $current_year != date("Y",strtotime($transaction_date)))
{
$new_month_tag = true;
}

正在加载...
取消
保存