* Remove the unused local variable.

This commit is contained in:
liugang
2023-03-28 07:39:28 +00:00
parent abf4f90f90
commit 6cf087fac5
+1 -1
View File
@@ -47,7 +47,7 @@ class pivotModel extends model
$now = date('Y-m-d');
$preValue = 0;
$setsDate = array_keys($sets);
foreach($dateList as $i => $date)
foreach($dateList as $date)
{
$date = date('Y-m-d', strtotime($date));
if($date > $now) break;