Skip to content

Commit

Permalink
PHP Warning: Missing argument 2 for JApplicationCms::setUserState(),
Browse files Browse the repository at this point in the history
called in packagefile.php and package.php models
  • Loading branch information
infograf768 committed Aug 20, 2014
1 parent e43d93a commit 3dc3425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component/admin/models/package.php
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ public function save($data)
$app->enqueueMessage(JText::_('COM_LOCALISE_ERROR_OLDFILE_REMOVE'), 'notice');
}

$app->setUserState('com_localise.edit.package.id');
$app->setUserState('com_localise.edit.package.id', $id);
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion component/admin/models/packagefile.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function save($data)
$app->enqueueMessage(JText::_('COM_LOCALISE_ERROR_OLDFILE_REMOVE'), 'notice');
}

$app->setUserState('com_localise.edit.package.id');
$app->setUserState('com_localise.edit.package.id', $id);
}

return true;
Expand Down

0 comments on commit 3dc3425

Please sign in to comment.