aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_poll.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-10 19:46:40 -0700
committerFriendika <info@friendika.com>2011-04-10 19:46:40 -0700
commit9341f2c4d6e01ca78e2644858b5a1e91ca03a948 (patch)
treeadaaf87d8a04b5abd2dfc3943e46d49bde7db10a /mod/dfrn_poll.php
parent3d51518a13fd44da3fa9a01b9ae1f1baa5d41848 (diff)
downloadvolse-hubzilla-9341f2c4d6e01ca78e2644858b5a1e91ca03a948.tar.gz
volse-hubzilla-9341f2c4d6e01ca78e2644858b5a1e91ca03a948.tar.bz2
volse-hubzilla-9341f2c4d6e01ca78e2644858b5a1e91ca03a948.zip
little fix
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r--mod/dfrn_poll.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index d68841d05..2da1a30fa 100644
--- a/mod/dfrn_poll.php
+++ b/mod/dfrn_poll.php
@@ -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)