mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
fix
This commit is contained in:
parent
b60004ae15
commit
ab1791f10a
@ -373,6 +373,7 @@ class AdvsController extends PublicController
|
||||
{
|
||||
$showTitle = true;
|
||||
$metaTitle = '';
|
||||
$catText = '';
|
||||
|
||||
if ($category) {
|
||||
$seo_keywords = $this->category_model->getMeta_keywords($category->id);
|
||||
@ -383,7 +384,6 @@ class AdvsController extends PublicController
|
||||
$this->template->set('meta_description', $seo_description);
|
||||
$this->template->set('meta_keywords', implode(', ', $seo_keywords));
|
||||
|
||||
$catText = '';
|
||||
if ($city) {
|
||||
$catText = "$city->name $catText";
|
||||
} elseif (count($mainCats) == 1 || count($mainCats) == 2) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user