X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Ffixup_hashtags.php;h=b5cdb764982a223f89b8db5ccd9e4f48b53f338e;hb=e02c10a58938718bc6345ee64bbb19914abbf472;hp=ac6522f3d91d157775954bb030207057125a0b21;hpb=54325e266f03be053b4efb1e788ef370b96f0cdc;p=quix0rs-gnu-social.git diff --git a/scripts/fixup_hashtags.php b/scripts/fixup_hashtags.php index ac6522f3d9..b5cdb76498 100755 --- a/scripts/fixup_hashtags.php +++ b/scripts/fixup_hashtags.php @@ -39,7 +39,9 @@ while ($notice->fetch()) { common_log(LOG_INFO, 'Getting tags for notice #' . $notice->id); $notice->saveTags(); $original = clone($notice); - $notice->rendered = common_render_content($notice->content, $notice); + $notice->rendered = common_render_content($notice->content, + $notice->getProfile(), + $notice->hasParent() ? $notice->getParent() : null); $result = $notice->update($original); if (!$result) { common_log_db_error($notice, 'UPDATE', __FILE__);