mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix warnings in RSS config screen in PHP 8.x
This commit is contained in:
parent
bf7b0d6aef
commit
04546d8b0f
2 changed files with 4 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ class RssAdminView extends Rss
|
|||
$args->url = $oRssModel->getRssURL('rss', $module_info->mid);
|
||||
$args->open_feed = $module_config->open_rss;
|
||||
$args->open_total_feed = $module_config->open_total_feed;
|
||||
$args->feed_description = $module_config->feed_description;
|
||||
$args->feed_description = $module_config->feed_description ?? '';
|
||||
|
||||
$rss_list[$module_srl] = $args;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,13 +28,13 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="feed_title">{$lang->title}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="feed_title" value="{escape($config->feed_title)}" id="feed_title" />
|
||||
<input type="text" name="feed_title" value="{escape($config->feed_title ?? '')}" id="feed_title" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="feed_description">{$lang->description}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="feed_description" id="feed_description" rows="4" cols="42" style="float:left;margin-right:8px">{$config->feed_description}</textarea>
|
||||
<textarea name="feed_description" id="feed_description" rows="4" cols="42" style="float:left;margin-right:8px">{escape($config->feed_description ?? '')}</textarea>
|
||||
<p class="x_help-block">{$lang->about_feed_description}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="feed_copyright">{$lang->feed_copyright}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="feed_copyright" value="{escape($config->feed_copyright)}" id="feed_copyright" />
|
||||
<input type="text" name="feed_copyright" value="{escape($config->feed_copyright ?? '')}" id="feed_copyright" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue