aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-16 13:19:54 -0800
committerFriendika <info@friendika.com>2011-02-16 13:19:54 -0800
commitd6998ffef2277eefc6a48c2371cc3c6077102bf5 (patch)
tree2e8f08e4552a585dca5ef3633f220022f94cf890 /mod/item.php
parentacce5c95a373c68ac8a834396e822f6b177352ca (diff)
downloadvolse-hubzilla-d6998ffef2277eefc6a48c2371cc3c6077102bf5.tar.gz
volse-hubzilla-d6998ffef2277eefc6a48c2371cc3c6077102bf5.tar.bz2
volse-hubzilla-d6998ffef2277eefc6a48c2371cc3c6077102bf5.zip
small fixes
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 5bb4b1b73..21dfb4560 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -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'])
);