Browse Source

fb.isAppAdded

Herbert Vojčík 14 years ago
parent
commit
7e4ac10cb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib-app/facebook-ext.js

+ 1 - 1
lib-app/facebook-ext.js

@@ -28,7 +28,7 @@ if (fb.any_uid == -1) {
     if (!fb.any_uid) fb.any_uid = "loggedinuser";
 }
 
-fb.isAppAdded = request.params.fb_sig_added;
+fb.isAppAdded = +request.params.fb_sig_added;
 
 fb.requireLogin = function (perms) {
     if (request.params.fb_sig_added != '1') {