Browse Source

fixed other bug in use of themes

Victor De la Rocha 15 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
 								$row['Date_Added'] = $formatedDate;
123
 								$row['Date_Added'] = $formatedDate;
124
 								$row['Permalink'] = $permalink;
124
 								$row['Permalink'] = $permalink;
125
 								$row['postType'] = $postType;
125
 								$row['postType'] = $postType;
126
-
127
                                 switch ($postType){
126
                                 switch ($postType){
128
                                         case "1":
127
                                         case "1":
129
                                         		$row['Title'] = $register["title"];
128
                                         		$row['Title'] = $register["title"];
220
 				$row['Date_Added'] = $formatedDate;
219
 				$row['Date_Added'] = $formatedDate;
221
 				$row['Permalink'] = $permalink;
220
 				$row['Permalink'] = $permalink;
222
 				$postType = $tumble->getType($register["id_post"]);
221
 				$postType = $tumble->getType($register["id_post"]);
223
-				$theme->set('postType',$postType);
222
+				$row['postType'] = $postType;
224
                 switch ($postType) {
223
                 switch ($postType) {
225
                         case "1":
224
                         case "1":
226
 								$row['Title'] = $register["title"];
225
 								$row['Title'] = $register["title"];