mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3349 [advs-module] Error on detail page
This commit is contained in:
parent
f74182ee3a
commit
dbf6d51148
@ -553,7 +553,8 @@ class AdvsController extends PublicController
|
||||
}
|
||||
}
|
||||
|
||||
$metaTitle = $adv->name . " " . end($categories)['name'] . ' ' . setting_value('streams::domain');
|
||||
$metaCatName = end($categories) ? end($categories)['name'] : '|';
|
||||
$metaTitle = $adv->name . " " . $metaCatName . ' ' . setting_value('streams::domain');
|
||||
$metaDesc = strip_tags($adv->advs_desc, '');
|
||||
|
||||
if (is_module_installed('visiosoft.module.seo')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user