aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 21ee994dc..62f1f2ce5 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2755,6 +2755,9 @@ function item_expire($uid,$days) {
function drop_items($items) {
$uid = 0;
+ if((! local_user()) && (! $remote_user()))
+ return;
+
if(count($items)) {
foreach($items as $item) {
$owner = drop_item($item,false);