]> git.mxchange.org Git - friendica.git/blobdiff - include/onepoll.php
Add a group with one click
[friendica.git] / include / onepoll.php
index bb5b8905ab5d93bd58d46c66205ad6f88e806513..72c1d65c007694e0bb7132746691190ed59769ac 100644 (file)
@@ -586,8 +586,8 @@ function onepoll_run(&$argv, &$argc){
 
        // load current friends if possible.
 
-       if($contact['poco']) {  
-               $r = q("SELECT count(*) as total from glink 
+       if($contact['poco']) {
+               $r = q("SELECT count(*) as total from glink
                        where `cid` = %d and updated > UTC_TIMESTAMP() - INTERVAL 1 DAY",
                        intval($contact['id'])
                );
@@ -602,6 +602,6 @@ function onepoll_run(&$argv, &$argc){
 }
 
 if (array_search(__file__,get_included_files())===0){
-  onepoll_run($argv,$argc);
+  onepoll_run($_SERVER["argv"],$_SERVER["argc"]);
   killme();
 }