31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-10 17:22:21 +00:00

Fix missing default values

This commit is contained in:
Nikolai Plath 2011-10-15 13:47:02 -05:00
parent 59a6d76c82
commit 2765063ec8

View File

@ -27,8 +27,8 @@ class PatchtesterModelPull extends JModel
// Load the parameters. // Load the parameters.
$params = JComponentHelper::getParams('com_patchtester'); $params = JComponentHelper::getParams('com_patchtester');
$this->setState('params', $params); $this->setState('params', $params);
$this->setState('github_user', $params->get('org')); $this->setState('github_user', $params->get('org', 'joomla'));
$this->setState('github_repo', $params->get('repo')); $this->setState('github_repo', $params->get('repo', 'joomla-cms'));
parent::populateState(); parent::populateState();
} }