]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Note in the debug log if we render the HTML of a message
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jan 2016 14:37:30 +0000 (15:37 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jan 2016 14:37:30 +0000 (15:37 +0100)
classes/Notice.php

index 25e8da4aaf72fa23e89fdf4c3e6612147310978b..cbd00e802bb0bb1a7f87c31a50659eedf847132f 100644 (file)
@@ -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(),