|
@@ -47,6 +47,7 @@ class ProductController extends BaseController
|
|
|
foreach ($arr as $date) {
|
|
foreach ($arr as $date) {
|
|
|
$new[] = strtotime($date);
|
|
$new[] = strtotime($date);
|
|
|
}
|
|
}
|
|
|
|
|
+ $new = array_unique(array_filter($new));
|
|
|
asort($new);
|
|
asort($new);
|
|
|
$newStr = implode(',', $new);
|
|
$newStr = implode(',', $new);
|
|
|
$info->presell = $presell;
|
|
$info->presell = $presell;
|