Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix regression: Fatal error in topic #512

Merged
merged 1 commit into from

1 participant

@mahagr
Owner

No description provided.

@mahagr mahagr merged commit c24a7fb into Kunena:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 9, 2012
  1. @mahagr
This page is out of date. Refresh to see the latest.
View
2  components/com_kunena/views/category/view.html.php
@@ -327,7 +327,7 @@ function fillCategoryInfo($matches) {
function displayCategories() {
if ($this->sections) {
$this->subcategories = true;
- $this->displayTemplateFile('subcategories');
+ echo $this->loadTemplateFile('subcategories');
}
}
View
6 components/com_kunena/views/topic/view.html.php
@@ -548,7 +548,7 @@ function getMessageProfileBox() {
}
function displayMessageContents() {
- $this->displayTemplateFile('message');
+ echo $this->loadTemplateFile('message');
}
function displayTopicActions($location=0) {
@@ -821,7 +821,7 @@ function displayThreadHistory() {
$dispatcher->trigger('onKunenaPrepare', array ('kunena.messages', &$this->history, &$params, 0));
- $this->displayTemplateFile ( 'history' );
+ echo $this->loadTemplateFile ( 'history' );
}
function redirectBack() {
@@ -842,7 +842,7 @@ public function getNumLink($mesid, $replycnt) {
function displayAttachments($message=null) {
if ($message instanceof KunenaForumMessage) {
$this->attachments = $message->getAttachments();
- if (!empty($this->attachments)) $this->displayTemplateFile ( 'attachments' );
+ if (!empty($this->attachments)) echo $this->loadTemplateFile ( 'attachments' );
} else {
echo JText::_('COM_KUNENA_ATTACHMENTS_ERROR_NO_MESSAGE');
}
Something went wrong with that request. Please try again.