summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-03 12:10:21 -0800
committerZach Copley <zach@status.net>2010-03-03 12:10:21 -0800
commit2f167f2663b2731d9f5d21bb9893aebff4dcf6f0 (patch)
tree7827f3ef370bfa51ea1d97f368040c3c9eff9ec5 /actions
parentccd0db1e0a928fe914c894966ecf2260964a68f0 (diff)
Fix syntax errors
Diffstat (limited to 'actions')
-rw-r--r--actions/oauthconnectionssettings.php4
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));
}
/**