* forums.forum_desc - removed NULL

This commit is contained in:
Visman 2018-11-01 16:28:32 +07:00
parent 3e1fd25349
commit 49bc143600
2 changed files with 3 additions and 3 deletions

View file

@ -565,7 +565,7 @@ class Install extends Page
'FIELDS' => [
'id' => ['SERIAL', false],
'forum_name' => ['VARCHAR(80)', false, 'New forum'],
'forum_desc' => ['TEXT', true],
'forum_desc' => ['TEXT', false],
'redirect_url' => ['VARCHAR(255)', false, ''],
'moderators' => ['TEXT', true],
'num_topics' => ['MEDIUMINT(8) UNSIGNED', false, 0],

View file

@ -5,7 +5,7 @@
<div class="f-ficon"></div>
<div class="f-finfo">
<h3><span class="f-fredirtext">{!! __('Link to') !!}</span> <a class="f-ftname" href="{!! $cur->redirect_url !!}">{{ $cur->forum_name }}</a></h3>
@if ($cur->forum_desc)
@if ('' != $cur->forum_desc)
<p class="f-fdesc">{!! $cur->forum_desc !!}</p>
@endif
</div>
@ -30,7 +30,7 @@
@endforeach
</dl><!-- endinline -->
@endif
@if ($cur->forum_desc)
@if ('' != $cur->forum_desc)
<p class="f-fdesc">{!! $cur->forum_desc !!}</p>
@endif
@if ($cur->moderators)