This commit is contained in:
songchenxuan
2023-11-16 11:42:15 +08:00
parent d60bbd6fc5
commit 3a0d2f9d09
2 changed files with 6 additions and 0 deletions
@@ -33,6 +33,9 @@ class count_of_daily_review_feedback_in_user extends baseCalc
if(empty($reviewedDate) || empty($reviewedBy)) return false;
/* input ,admin output admin */
$reviewedBy = current(array_filter(explode(',', $reviewedBy)));
$year = substr($reviewedDate, 0, 4);
if($year == '0000') return false;
@@ -33,6 +33,9 @@ class count_of_daily_review_story_in_user extends baseCalc
if(empty($reviewedDate) || empty($reviewedBy)) return false;
/* input ,admin output admin */
$reviewedBy = current(array_filter(explode(',', $reviewedBy)));
$year = substr($reviewedDate, 0, 4);
if($year == '0000') return false;