Explorar el Código

fixed other bug in use of themes

Victor De la Rocha hace 16 años
padre
commit
9fe291b0ed
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      index.php

+ 1 - 2
index.php Ver fichero

@@ -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"];