From 7b2036a4b508bd1ac77158fedb9ee2c5e3850f51 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 6 Jan 2016 15:37:30 +0100 Subject: [PATCH] Note in the debug log if we render the HTML of a message --- classes/Notice.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/Notice.php b/classes/Notice.php index 25e8da4aaf..cbd00e802b 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -261,6 +261,7 @@ class Notice extends Managed_DataObject { if (is_null($this->rendered) || $this->rendered === '') { // update to include rendered content on-the-fly, so we don't have to have a fix-up script in upgrade.php + common_debug('Rendering notice '.$this->getID().' as it had no rendered HTML content.'); $orig = clone($this); $this->rendered = common_render_content($this->getContent(), $this->getProfile(),