Browse Source

fixed other bug in use of themes

Victor De la Rocha 16 years ago
parent
commit
9fe291b0ed
1 changed files with 1 additions and 2 deletions
  1. 1 2
      index.php

+ 1 - 2
index.php View File

@@ -123,7 +123,6 @@ $theme = new themes;
123 123
 								$row['Date_Added'] = $formatedDate;
124 124
 								$row['Permalink'] = $permalink;
125 125
 								$row['postType'] = $postType;
126
-
127 126
                                 switch ($postType){
128 127
                                         case "1":
129 128
                                         		$row['Title'] = $register["title"];
@@ -220,7 +219,7 @@ $theme = new themes;
220 219
 				$row['Date_Added'] = $formatedDate;
221 220
 				$row['Permalink'] = $permalink;
222 221
 				$postType = $tumble->getType($register["id_post"]);
223
-				$theme->set('postType',$postType);
222
+				$row['postType'] = $postType;
224 223
                 switch ($postType) {
225 224
                         case "1":
226 225
 								$row['Title'] = $register["title"];