]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix syntax errors
authorZach Copley <zach@status.net>
Wed, 3 Mar 2010 20:10:21 +0000 (12:10 -0800)
committerZach Copley <zach@status.net>
Wed, 3 Mar 2010 20:10:21 +0000 (12:10 -0800)
actions/oauthconnectionssettings.php

index b1467f0d04b5ea35a2e24f211f242d26e0a8773d..f125f4c63101f222b740da552ad0390be8377ecd 100644 (file)
@@ -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));
     }
 
     /**