mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#2512 Show only related packages while ad posting (maden)
This commit is contained in:
parent
41c500fbdc
commit
181552beda
@ -844,7 +844,7 @@ class AdvsController extends PublicController
|
|||||||
}
|
}
|
||||||
event(new CreatedAd($adv));
|
event(new CreatedAd($adv));
|
||||||
if ($allowPendingAdCreation) {
|
if ($allowPendingAdCreation) {
|
||||||
return redirect(route("visiosoft.module.packages::buy_package") . '?ad_id=' . $adv->id);
|
return redirect(route("visiosoft.module.packages::buy_package") . '?ad_id=' . $adv->id . '&category_id=' . $adv->cat1);
|
||||||
} else {
|
} else {
|
||||||
return redirect(route('advs_preview', [$request->update_id]));
|
return redirect(route('advs_preview', [$request->update_id]));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user