aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-22 17:30:49 -0800
committerfriendica <info@friendica.com>2013-12-22 17:30:49 -0800
commita9e225b38af3a79802ee52670842ea1d732e9214 (patch)
treea94d1a03b4f023924740242a4d499d5d585619e9
parent38df3f640458ddb3d6ddd4055b275c59085f14d0 (diff)
downloadvolse-hubzilla-a9e225b38af3a79802ee52670842ea1d732e9214.tar.gz
volse-hubzilla-a9e225b38af3a79802ee52670842ea1d732e9214.tar.bz2
volse-hubzilla-a9e225b38af3a79802ee52670842ea1d732e9214.zip
issue deleting photos (attached item remained undeleted and became visible, though the photo was gone)
-rw-r--r--README.md4
-rw-r--r--mod/photos.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8bc45e55e..93dad882b 100644
--- a/README.md
+++ b/README.md
@@ -32,9 +32,9 @@ Within the Red Matrix, identity is nomadic. It defines you and it belongs to you
The Red Matrix is free and open source distributed under the MIT license.
-Currently the project is in "Public Preview". A lot of work remains, but many important bits are functioning. Please connect with one of the developer channels ("Channel One" would be a good choice) if you are interested in helping us out.
+Please connect with one of the developer channels ("Channel One" would be a good choice) if you are interested in helping us out.
[Please help us change the world by providing a small donation.](http://pledgie.com/campaigns/18417) (Large donations are also graciously accepted).
-If you would like to become part of the Red Matrix **right now** (and aren't concerned that there may be a few bugs), please select a public hub from one of our open providers at [https://zothub.com/pubsites](https://zothub.com/pubsites). All sites are interlinked and you can always move to another, so the choice of site can be somewhat arbitrary. \ No newline at end of file
+If you would like to become a member of the Red Matrix **right now** , please select a public hub from one of our open providers at [https://zothub.com/pubsites](https://zothub.com/pubsites). All sites are interlinked and you can always move to another, so the choice of site can be somewhat arbitrary. \ No newline at end of file
diff --git a/mod/photos.php b/mod/photos.php
index 63806896b..9e6fcecdb 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -183,7 +183,7 @@ function photos_post(&$a) {
intval($page_owner_uid)
);
if(count($i)) {
- q("UPDATE `item` SET item_restrict = (item_restrict & %d), `edited` = '%s', `changed` = '%s' WHERE `parent_mid` = '%s' AND `uid` = %d",
+ q("UPDATE `item` SET item_restrict = (item_restrict | %d), `edited` = '%s', `changed` = '%s' WHERE `parent_mid` = '%s' AND `uid` = %d",
intval(ITEM_DELETED),
dbesc(datetime_convert()),
dbesc(datetime_convert()),