From 2a596af25b1f42321f722fcab8b816326efbb666 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 24 Dec 2009 01:48:15 -0800 Subject: [PATCH] Don't treat an object like a string --- modules/metadescription/helpers/metadescription_theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/metadescription/helpers/metadescription_theme.php b/modules/metadescription/helpers/metadescription_theme.php index 7083c5c6..c5dee002 100644 --- a/modules/metadescription/helpers/metadescription_theme.php +++ b/modules/metadescription/helpers/metadescription_theme.php @@ -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()) {