trac750 fix for crash when a user logs in and hasn't already posted a notice
This commit is contained in:
parent
df25b5f5f5
commit
36d55526d3
@ -69,7 +69,9 @@ class FacebookhomeAction extends FacebookAction
|
||||
|
||||
// Make sure the user's profile box has the lastest notice
|
||||
$notice = $this->user->getCurrentNotice();
|
||||
if ($notice) {
|
||||
$this->updateProfileBox($notice);
|
||||
}
|
||||
|
||||
if ($this->arg('status_submit') == 'Send') {
|
||||
$this->saveNewNotice();
|
||||
@ -80,7 +82,6 @@ class FacebookhomeAction extends FacebookAction
|
||||
// of the app
|
||||
$this->showPage();
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
// User hasn't authenticated yet, prompt for creds
|
||||
|
Loading…
Reference in New Issue
Block a user