Don't treat an object like a string
This commit is contained in:
parent
2b00e0a4e9
commit
2a596af25b
@ -23,7 +23,7 @@ class metadescription_theme_Core {
|
|||||||
// If the current page belongs to a tag, look up
|
// If the current page belongs to a tag, look up
|
||||||
// the information for that tag.
|
// the information for that tag.
|
||||||
$tagsItem = ORM::factory("tag")
|
$tagsItem = ORM::factory("tag")
|
||||||
->where("id", "=", $theme->tag())
|
->where("id", "=", $theme->tag()->id)
|
||||||
->find_all();
|
->find_all();
|
||||||
|
|
||||||
} elseif ($theme->item()) {
|
} elseif ($theme->item()) {
|
||||||
|
Reference in New Issue
Block a user