]> git.mxchange.org Git - friendica-addons.git/commitdiff
Bugfix
authorTobias Hößl <tobias@hoessl.eu>
Sun, 26 Feb 2012 20:36:24 +0000 (20:36 +0000)
committerTobias Hößl <tobias@hoessl.eu>
Sun, 26 Feb 2012 20:36:24 +0000 (20:36 +0000)
facebook/facebook.php

index cc8b85cdba6ef7d04ea5b7c2ca03868d51c3d66c..039b27ff9f5f30105559b89c52186b535d24021a 100755 (executable)
@@ -84,7 +84,7 @@ function facebook_init(&$a) {
        if (x($_REQUEST, "realtime_cb") && x($_REQUEST, "realtime_cb")) {
                logger("facebook_init: Facebook Real-Time callback called", LOGGER_DEBUG);
                
-               if (x($_REQUEST["hub_verify_token"])) {
+               if (x($_REQUEST, "hub_verify_token")) {
                        // this is the verification callback while registering for real time updates
                        
                        $verify_token = get_config('facebook', 'cb_verify_token');