diff options
author | Zach Copley <zach@status.net> | 2010-03-03 12:10:21 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-03-03 12:10:21 -0800 |
commit | 2f167f2663b2731d9f5d21bb9893aebff4dcf6f0 (patch) | |
tree | 7827f3ef370bfa51ea1d97f368040c3c9eff9ec5 /actions | |
parent | ccd0db1e0a928fe914c894966ecf2260964a68f0 (diff) |
Fix syntax errors
Diffstat (limited to 'actions')
-rw-r--r-- | actions/oauthconnectionssettings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/oauthconnectionssettings.php b/actions/oauthconnectionssettings.php index b1467f0d0..f125f4c63 100644 --- a/actions/oauthconnectionssettings.php +++ b/actions/oauthconnectionssettings.php @@ -99,7 +99,7 @@ class OauthconnectionssettingsAction extends ConnectSettingsAction $application = $profile->getApplications($offset, $limit); - $cnt == 0; + $cnt = 0; if (!empty($application)) { $al = new ApplicationList($application, $user, $this, true); @@ -112,7 +112,7 @@ class OauthconnectionssettingsAction extends ConnectSettingsAction $this->pagination($this->page > 1, $cnt > APPS_PER_PAGE, $this->page, 'connectionssettings', - array('nickname' => $this->user->nickname)); + array('nickname' => $user->nickname)); } /** |