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