mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3316 Emlak24 Issues
This commit is contained in:
parent
2242180b4b
commit
9a8fa8322d
@ -468,7 +468,9 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
||||
$advs = $this->newQuery()->where('id', $allAds);
|
||||
}
|
||||
$newDate = date('Y-m-d H:i:s', strtotime(date('Y-m-d H:i:s') . ' + ' . setting_value('visiosoft.module.advs::default_published_time') . ' day'));
|
||||
return $advs->update(['finish_at' => $newDate]);
|
||||
return $advs
|
||||
->where('slug', '!=', '')
|
||||
->update(['finish_at' => $newDate]);
|
||||
}
|
||||
|
||||
public function getByUsersIDs($usersIDs, $status = 'approved', $withDraft = false)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user