diff options
author | friendica <info@friendica.com> | 2012-02-16 18:29:09 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-16 18:29:09 -0800 |
commit | 2abbd81ce1760cdfd4098ae1d5cda29e608eb021 (patch) | |
tree | e21ac61730c1ed883f326beb6ed2caecd0e6405a /include/delivery.php | |
parent | 6f6d4471d817be7687a8ba9853c6757bd41be743 (diff) | |
download | volse-hubzilla-2abbd81ce1760cdfd4098ae1d5cda29e608eb021.tar.gz volse-hubzilla-2abbd81ce1760cdfd4098ae1d5cda29e608eb021.tar.bz2 volse-hubzilla-2abbd81ce1760cdfd4098ae1d5cda29e608eb021.zip |
a few fixes for offsite community members
Diffstat (limited to 'include/delivery.php')
-rwxr-xr-x | include/delivery.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/delivery.php b/include/delivery.php index 03199b010..677d89388 100755 --- a/include/delivery.php +++ b/include/delivery.php @@ -312,6 +312,13 @@ function delivery_run($argv, $argc){ ); if(count($x)) { + if($owner['page-flags'] == PAGE_COMMUNITY && ! $x[0]['writable']) { + q("update contact set writable = 1 where id = %d limit 1", + intval($x[0]['id']) + ); + $x[0]['writable'] = 1; + } + require_once('library/simplepie/simplepie.inc'); logger('mod-delivery: local delivery'); local_delivery($x[0],$atom); |