Added all modified files to allow branching
This commit is contained in:
@@ -14,8 +14,11 @@ abstract class AbstractClubsViewSingle extends HtmlView
|
||||
protected $object;
|
||||
protected $isNew;
|
||||
|
||||
function display($tpl = null)
|
||||
private $prepared = FALSE;
|
||||
|
||||
public function prepareDisplay()
|
||||
{
|
||||
$this->prepared = TRUE;
|
||||
|
||||
$input = Factory::getApplication()->input;
|
||||
$id = $input->get->get('id');
|
||||
@@ -48,6 +51,12 @@ abstract class AbstractClubsViewSingle extends HtmlView
|
||||
$controller->applyData($this->object, $data);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function display($tpl = null)
|
||||
{
|
||||
if(!$this->prepared)
|
||||
$this->prepareDisplay();
|
||||
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user