Fix missing default values

This commit is contained in:
Nikolai Plath 2011-10-15 13:47:02 -05:00
parent 59a6d76c82
commit 2765063ec8
1 changed files with 2 additions and 2 deletions

View File

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