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>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Gitea Updater
|
||||
* Plugin URI: http://www.paucapo.com
|
||||
* Description: Plugins updater
|
||||
* Version: 0.3.5
|
||||
* Version: 0.3.6
|
||||
* Author: Pau Capó
|
||||
* Author URI: http://www.paucapo.com
|
||||
* Text Domain: gitea
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue