From c5914cc94ac185dd514b9e562091b153976511ec Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Tue, 21 Dec 2010 10:43:41 -0500 Subject: [PATCH] actually load the tags into the story array. Temp fix until moved to Content/Tagger --- jonah/lib/Driver/Sql.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jonah/lib/Driver/Sql.php b/jonah/lib/Driver/Sql.php index 5100a6914..9d5b8873d 100644 --- a/jonah/lib/Driver/Sql.php +++ b/jonah/lib/Driver/Sql.php @@ -468,7 +468,9 @@ class Jonah_Driver_Sql extends Jonah_Driver if ($results instanceof PEAR_Error) { throw new Jonah_Exception($results); } - + foreach ($results as &$row) { + $row['tags'] = $this->readTags($row['id']); + } return $results; } -- 2.11.0