Correct some grammar, fix favicon display, and include a correction from Ryan for an issue with invites that was found by fligtar.

git-svn-id: svn://10.0.0.236/trunk@213487 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2006-10-11 06:14:41 +00:00
parent 818da77409
commit fa184df355
3 changed files with 6 additions and 6 deletions

View File

@@ -243,8 +243,8 @@ class PartiesController extends AppController {
$this->pageTitle = "Invite a Guest";
if (is_numeric($id)) {
$party = $this->Party->findById($id);
if (empty($party['Party']['id']) &&
$party['Party']['owner'] !== $_SESSION['User']['id'])
if (empty($party['Party']['id']) ||
$party['Party']['owner'] != $_SESSION['User']['id'])
$this->redirect('/parties/view/all');
else {