]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Note in the debug log if we render the HTML of a message
[quix0rs-gnu-social.git] / 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(),