diff --git a/facebook.tgz b/facebook.tgz index 497015b7..6ec94f3a 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index e48d73ad..127456af 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -3,7 +3,8 @@ * Name: Facebook Connector * Version: 1.3 * Author: Mike Macgirvin - * Tobias Hößl + * Author: Tobias Hößl + * */ /** @@ -162,10 +163,11 @@ function facebook_init(&$a) { } } - if($a->argc != 2) return; + $nick = $a->argv[1]; + if(strlen($nick)) $r = q("SELECT `uid` FROM `user` WHERE `nickname` = '%s' LIMIT 1", dbesc($nick) @@ -758,7 +760,7 @@ function facebook_plugin_admin(&$a, &$o){ elseif (is_array($subs)) { $o .= t('The given API Key seems to work correctly.') . '
'; $working_connection = true; - } else $o .= t('The correctness of the API Key could not be detected. Somthing strange\'s going on.') . '
'; + } else $o .= t('The correctness of the API Key could not be detected. Something strange\'s going on.') . '
'; } $o .= '
'; diff --git a/jappixmini.tgz b/jappixmini.tgz index a49c0b4e..212bb25e 100644 Binary files a/jappixmini.tgz and b/jappixmini.tgz differ diff --git a/page.tgz b/page.tgz index 0db604c2..7e95737f 100644 Binary files a/page.tgz and b/page.tgz differ diff --git a/page/page.css b/page/page.css index 44b970d8..0c0fe3cd 100644 --- a/page/page.css +++ b/page/page.css @@ -11,4 +11,3 @@ float: left; } -