]> git.mxchange.org Git - friendica.git/commitdiff
little fix
authorFriendika <info@friendika.com>
Mon, 11 Apr 2011 02:46:40 +0000 (19:46 -0700)
committerFriendika <info@friendika.com>
Mon, 11 Apr 2011 02:46:40 +0000 (19:46 -0700)
mod/dfrn_poll.php

index d68841d05db43178cdf71ca169d93581f7716540..2da1a30faea838710005f6b460becd76f9251cf7 100644 (file)
@@ -333,14 +333,14 @@ function dfrn_poll_post(&$a) {
        else {
 
                // Update the writable flag if it changed               
-
+               logger('dfrn_poll: post request feed: ' . print_r($_POST,true),LOGGER_DATA);
                if($dfrn_version >= 2.21) {
                        if($perm === 'rw')
                                $writable = 1;
                        else
                                $writable = 0;
 
-                       if($writable !=  $contact['writable]) {
+                       if($writable !=  $contact['writable']) {
                                q("UPDATE `contact` SET `writable` = %d WHERE `id` = %d LIMIT 1",
                                        intval($writable),
                                        intval($contact_id)