small fixes
This commit is contained in:
parent
acce5c95a3
commit
d6998ffef2
2 changed files with 4 additions and 3 deletions
|
@ -545,7 +545,7 @@ function item_content(&$a) {
|
|||
// generate a resource-id and therefore aren't intimately linked to the item.
|
||||
|
||||
if(strlen($item['resource-id'])) {
|
||||
$q("DELETE FROM `photo` WHERE `resource-id` = '%s' AND `uid` = %d ",
|
||||
q("DELETE FROM `photo` WHERE `resource-id` = '%s' AND `uid` = %d ",
|
||||
dbesc($item['resource-id']),
|
||||
intval($item['uid'])
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue