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