From 9fe291b0ed4c73fe28d7563da5303d0a8d4a8a52 Mon Sep 17 00:00:00 2001 From: Victor De la Rocha Date: Sun, 26 Oct 2008 05:32:46 +0000 Subject: [PATCH] fixed other bug in use of themes --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index db80720..e65c468 100644 --- a/index.php +++ b/index.php @@ -123,7 +123,6 @@ $theme = new themes; $row['Date_Added'] = $formatedDate; $row['Permalink'] = $permalink; $row['postType'] = $postType; - switch ($postType){ case "1": $row['Title'] = $register["title"]; @@ -220,7 +219,7 @@ $theme = new themes; $row['Date_Added'] = $formatedDate; $row['Permalink'] = $permalink; $postType = $tumble->getType($register["id_post"]); - $theme->set('postType',$postType); + $row['postType'] = $postType; switch ($postType) { case "1": $row['Title'] = $register["title"];