Fix: Stream::renderEntry() overwrite does not work

This commit is contained in:
buddh4 2019-02-27 12:43:27 +01:00
parent 7d723ba69e
commit a09f2b8609
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,8 @@ HumHub Change Log
- Enh: Added further upload file name validation
- Enh: Added `ContentContainerModuleManager::flushCache()`
- Fix: Bootstrap modal blocks richtext prompt focus
- Fix: Richtext images with dimension setting not attached
- Fix: `Stream::renderEntry()` overwrite does not work
1.3.10 (February 22, 2019)

View File

@ -284,6 +284,7 @@ abstract class Stream extends Action
* @param $options array render options
* @param boolean $partial whether or not to use renderPartial over renderAjax
* @return string rendered wallentry
* @throws \Exception
*/
public static function renderEntry(ContentActiveRecord $record, $options = [], $partial = true)
{
@ -347,7 +348,7 @@ abstract class Stream extends Action
$underlyingObject->populateRelation('content', $content);
$result['output'] = self::renderEntry($underlyingObject, false);
$result['output'] = static::renderEntry($underlyingObject, false);
$result['pinned'] = (boolean) $content->pinned;
$result['archived'] = (boolean) $content->archived;
$result['guid'] = $content->guid;