issue deleting photos (attached item remained undeleted and became visible, though the photo was gone)
This commit is contained in:
parent
38df3f6404
commit
a9e225b38a
@ -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.
|
||||
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.
|
@ -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()),
|
||||
|
Reference in New Issue
Block a user