From: Zach Copley Date: Wed, 3 Mar 2010 20:10:21 +0000 (-0800) Subject: Fix syntax errors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f167f2663b2731d9f5d21bb9893aebff4dcf6f0;p=quix0rs-gnu-social.git Fix syntax errors --- diff --git a/actions/oauthconnectionssettings.php b/actions/oauthconnectionssettings.php index b1467f0d04..f125f4c631 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)); } /**