From 572b16aa45974110282c5cb58f96da980374b683 Mon Sep 17 00:00:00 2001 From: githubjeka Date: Fri, 10 Nov 2017 16:39:45 +0300 Subject: [PATCH] hot fix to bug by Document:type --- module.json | 2 +- widgets/views/wallEntry.php | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/module.json b/module.json index 79a466b..c76217d 100644 --- a/module.json +++ b/module.json @@ -10,7 +10,7 @@ "workflow", "documents" ], - "version": "0.1.1dev", + "version": "0.1.1", "humhub": { "minVersion": "1.2.3" }, diff --git a/widgets/views/wallEntry.php b/widgets/views/wallEntry.php index e34b3fd..6f43eda 100644 --- a/widgets/views/wallEntry.php +++ b/widgets/views/wallEntry.php @@ -54,15 +54,7 @@ formatter->asDate($document->created_at, 'long') ?> - type) : ?> - - type])) ? - Document::types()[$document->type] - : $document->type - ) ?> - - + $document->typeModel]) ?> to && $document->from) : ?>