]> git.mxchange.org Git - friendica.git/commitdiff
diaspora share - blocked specified twice
authorFriendika <info@friendika.com>
Fri, 19 Aug 2011 04:50:41 +0000 (21:50 -0700)
committerFriendika <info@friendika.com>
Fri, 19 Aug 2011 04:50:41 +0000 (21:50 -0700)
include/diaspora.php

index 5aadef884c362c13453cc374328b4ee3c155ce71..9e6e9eb602d73030093d6ba09210ef738c2afd29 100644 (file)
@@ -350,8 +350,8 @@ function diaspora_request($importer,$xml) {
        $hash = random_string() . (string) time();   // Generate a confirm_key
        
        if($contact_record) {
-               $ret = q("INSERT INTO `intro` ( `uid`, `contact-id`, `blocked`, `knowyou`, `note`, `hash`, `datetime`,`blocked`)
-                       VALUES ( %d, %d, 1, %d, '%s', '%s', '%s', 0 )",
+               $ret = q("INSERT INTO `intro` ( `uid`, `contact-id`, `blocked`, `knowyou`, `note`, `hash`, `datetime` )
+                       VALUES ( %d, %d, 1, %d, '%s', '%s', '%s' )",
                        intval($importer['uid']),
                        intval($contact_record['id']),
                        0,