fix comparing bool value with string
This commit is contained in:
parent
2b175249cb
commit
fbf6b203e1
|
|
@ -115,7 +115,7 @@
|
|||
<!-- App Scripts -->
|
||||
{!! bs_footer('admin') !!}
|
||||
|
||||
@if (option('check_update') == '1')
|
||||
@if (option('check_update'))
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
// check for updates
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@
|
|||
<td>{{ trans('user.player.player-name') }}</td>
|
||||
<td>
|
||||
<input type="text" class="form-control" id="player_name"
|
||||
placeholder="{{ (option('allow_chinese_playername') == '1') ? trans('user.player.pname-rule-chinese') : trans('user.player.pname-rule') }}" value="">
|
||||
placeholder="{{ option('allow_chinese_playername') ? trans('user.player.pname-rule-chinese') : trans('user.player.pname-rule') }}" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user