From ba7f508c876f2613cadb566f2f1868b1528ec234 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Wed, 21 Jan 2015 10:26:43 -0800 Subject: [PATCH] fixes #4510 and fixes #4511 --- include/library/Crunchbutton/Support/Message.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/library/Crunchbutton/Support/Message.php b/include/library/Crunchbutton/Support/Message.php index 30fe2b1d9..920343a3f 100644 --- a/include/library/Crunchbutton/Support/Message.php +++ b/include/library/Crunchbutton/Support/Message.php @@ -37,9 +37,11 @@ class Crunchbutton_Support_Message extends Cana_Table { } } - public function load() { - parent::load(); + public function load($stuff) { + parent::load($stuff); $this->media = $this->media ? json_decode($this->media) : null; + + return $this; } public function notify() {