mirror of
https://github.com/humhub/humhub.git
synced 2025-04-21 07:31:53 +02:00
Fix: Stream::renderEntry()
overwrite does not work
This commit is contained in:
parent
7d723ba69e
commit
a09f2b8609
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user