small warning fix
This commit is contained in:
parent
782e68676e
commit
b2ebb01c70
2 changed files with 3 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ class Gitea_Options
|
|||
<li>
|
||||
<input type="password" class="token"
|
||||
name="gitea_options[host_token][<?= $repository ?>]"
|
||||
value="<?= @$options['host_token'][$repository] ?>"
|
||||
value="<?= $options['host_token'][$repository] ? $options['host_token'][$repository] : '' ?>"
|
||||
placeholder="<?= __('Global Access Token', 'gitea') ?>">
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -115,7 +115,7 @@ class Gitea_Options
|
|||
<li class="input">
|
||||
<input type="password" class="token"
|
||||
name="gitea_options[repo_token][<?= $package['url'] ?>]"
|
||||
value="<?= @$options['repo_token'][$package['url']] ?>"
|
||||
value="<?= $options['repo_token'][$package['url']] ? $options['repo_token'][$package['url']] : '' ?>"
|
||||
placeholder="<?= __('Access Token', 'gitea') ?>">
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue