fixed other bug in use of themes

master
Victor De la Rocha 2008-10-26 05:32:46 +00:00
parent d19c735430
commit 9fe291b0ed
1 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,6 @@ $theme = new themes;
$row['Date_Added'] = $formatedDate; $row['Date_Added'] = $formatedDate;
$row['Permalink'] = $permalink; $row['Permalink'] = $permalink;
$row['postType'] = $postType; $row['postType'] = $postType;
switch ($postType){ switch ($postType){
case "1": case "1":
$row['Title'] = $register["title"]; $row['Title'] = $register["title"];
@ -220,7 +219,7 @@ $theme = new themes;
$row['Date_Added'] = $formatedDate; $row['Date_Added'] = $formatedDate;
$row['Permalink'] = $permalink; $row['Permalink'] = $permalink;
$postType = $tumble->getType($register["id_post"]); $postType = $tumble->getType($register["id_post"]);
$theme->set('postType',$postType); $row['postType'] = $postType;
switch ($postType) { switch ($postType) {
case "1": case "1":
$row['Title'] = $register["title"]; $row['Title'] = $register["title"];