Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
notice undefined offset on users page
  • Loading branch information
ravenlife committed Apr 19, 2012
1 parent 36414e4 commit 4c9283d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function changelogs()
if ($name == 'date')
{
$date = JFactory::getDate($changelog);
$html[] = (string)$changelog == 'TBA' ? JText::_('COM_NINJA_TO_BE_ANNOUNCED') : $date->toFormat(JText::_('DATE_FORMAT_LC'));
$html[] = (string)$changelog == 'TBA' ? JText::_('COM_NINJA_TO_BE_ANNOUNCED') : $date->toFormat('%A, %B %d, %Y');
}
else $html[] = $changelog;
$html[] = '</dd>';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public function usergroup($value = null, $name = 'usergroup', $options = array()
{
if(version_compare(JVERSION,'1.6.0','ge'))
{
return JHtml::_('access.usergroup', $name, $value[$name], 'onchange="this.form.submit()"');
return JHtml::_('access.usergroup', $name, @$value[$name], 'onchange="this.form.submit()"');
}

$node = new KObject;
Expand Down

0 comments on commit 4c9283d

Please sign in to comment.