]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_poll.php
Bugfix: dba::num_rows hadn't checked the object variable
[friendica.git] / mod / dfrn_poll.php
index 506f9f162f2159dc1cd8fc75229cff93d11f202c..91fa49618a7713bdd443be67b5a0591fe1043b3f 100644 (file)
@@ -1,12 +1,12 @@
 <?php
+
+use Friendica\App;
+
 require_once('include/items.php');
 require_once('include/auth.php');
 require_once('include/dfrn.php');
 
-
 function dfrn_poll_init(App $a) {
-
-
        $dfrn_id         = ((x($_GET,'dfrn_id'))         ? $_GET['dfrn_id']              : '');
        $type            = ((x($_GET,'type'))            ? $_GET['type']                 : 'data');
        $last_update     = ((x($_GET,'last_update'))     ? $_GET['last_update']          : '');