fixed other bug in use of themes
parent
d19c735430
commit
9fe291b0ed
|
|
@ -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"];
|
||||
|
|
|
|||
Loading…
Reference in New Issue