1
0

Don't treat an object like a string

This commit is contained in:
Bharat Mediratta 2009-12-24 01:48:15 -08:00
parent 2b00e0a4e9
commit 2a596af25b

View File

@ -23,7 +23,7 @@ class metadescription_theme_Core {
// If the current page belongs to a tag, look up
// the information for that tag.
$tagsItem = ORM::factory("tag")
->where("id", "=", $theme->tag())
->where("id", "=", $theme->tag()->id)
->find_all();
} elseif ($theme->item()) {