Commit 06121233 authored by Ahmad Asjad's avatar Ahmad Asjad
Browse files

echo $this->render( -> return $this->render(

in controllers
parent a99e3375
......@@ -87,7 +87,7 @@ class DefaultController extends CommunecterController
if (Yii::app()->request->isAjaxRequest)
return $this->renderPartial("index");
else {
echo $this->render("index");
return $this->render("index");
}
}
......@@ -103,7 +103,7 @@ class DefaultController extends CommunecterController
if (Yii::app()->request->isAjaxRequest)
return $this->renderPartial("indexMediaWiki");
else {
echo $this->render("indexMediaWiki");
return $this->render("indexMediaWiki");
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment