From 3b9d40289c5ca98a4e20374ddc0f886323d0898b Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 5 May 2015 14:29:07 +0930 Subject: [PATCH] Return the post that was added/changed/deleted --- framework/core/src/Core/Models/Discussion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Core/Models/Discussion.php b/framework/core/src/Core/Models/Discussion.php index 2e0b0bc6f..1dd4f0523 100755 --- a/framework/core/src/Core/Models/Discussion.php +++ b/framework/core/src/Core/Models/Discussion.php @@ -200,7 +200,7 @@ class Discussion extends Model $this->postWasRemoved($post); } - return $post->exists; + return $post; } /**