mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #159 from openclassify/dia
#158 Recent Ads is not working
This commit is contained in:
commit
49ff2b1a36
@ -189,6 +189,7 @@ class AdvsController extends AdminController
|
||||
|
||||
$default_adv_publish = $settings->value('visiosoft.module.advs::default_published_time');
|
||||
$adv->finish_at = date('Y-m-d H:i:s', strtotime(date('Y-m-d H:i:s') . ' + ' . $default_adv_publish . ' day'));
|
||||
$adv->publish_at = date('Y-m-d H:i:s');
|
||||
|
||||
//algolia Search Module
|
||||
$isActiveAlgolia = new AdvModel();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user