From 8832c48cfb8c54ea5fa13ffd80cfe0395b32967e Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 10 Jul 2012 20:35:12 -0400 Subject: Fixes #4690 fixes deprecation warning --- mod/thewire/actions/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/thewire') diff --git a/mod/thewire/actions/delete.php b/mod/thewire/actions/delete.php index 58502a7e7..38355d25e 100644 --- a/mod/thewire/actions/delete.php +++ b/mod/thewire/actions/delete.php @@ -24,7 +24,7 @@ if ($thewire->getSubtype() == "thewire" && $thewire->canEdit()) { } // Get owning user - $owner = get_entity($thewire->getOwner()); + $owner = get_entity($thewire->getOwnerGUID()); // Delete it $rowsaffected = $thewire->delete(); -- cgit v1.2.3