]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
Better content detection for posts to Twitter
[friendica.git] / mod / suggest.php
index 19e89f05ba7155c85334aeac1373f7ae80a84589..e71c726952c582f5c24aefad147763b4bb3e6184 100644 (file)
@@ -39,10 +39,7 @@ function suggest_init(App $a) {
                }
                // Now check how the user responded to the confirmation query
                if (!$_REQUEST['canceled']) {
-                       q("INSERT INTO `gcign` ( `uid`, `gcid` ) VALUES ( %d, %d ) ",
-                               intval(local_user()),
-                               intval($_GET['ignore'])
-                       );
+                       dba::insert('gcign', array('uid' => local_user(), 'gcid' => $_GET['ignore']));
                }
        }