From: Mikael Nordfeldth Date: Wed, 6 Jan 2016 14:37:30 +0000 (+0100) Subject: Note in the debug log if we render the HTML of a message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b2036a4b508bd1ac77158fedb9ee2c5e3850f51;p=quix0rs-gnu-social.git Note in the debug log if we render the HTML of a message --- 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(),