* Fix bug #40588.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user