diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php
index bf943f1a15..ac147a7626 100644
--- a/src/Protocol/DFRN.php
+++ b/src/Protocol/DFRN.php
@@ -2811,9 +2811,9 @@ class DFRN
 			return;
 		}
 
-		logger('deleting item '.$item["id"].' uri='.$uri, LOGGER_DEBUG);
+		logger('deleting item '.$item['id'].' uri='.$uri, LOGGER_DEBUG);
 
-		Item::delete(['id' => $item["id"]]);
+		Item::delete(['id' => $item['id']]);
 	}
 
 	/**
diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php
index f3aa672a21..2bb8461340 100644
--- a/src/Protocol/Diaspora.php
+++ b/src/Protocol/Diaspora.php
@@ -2793,7 +2793,7 @@ class Diaspora
 				continue;
 			}
 
-			Item::delete(['id' => $item["id"]]);
+			Item::delete(['id' => $item['id']]);
 
 			logger("Deleted target ".$target_guid." (".$item["id"].") from user ".$item["uid"]." parent: ".$item["parent"], LOGGER_DEBUG);
 		}