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>
|
<li>
|
||||||
<input type="password" class="token"
|
<input type="password" class="token"
|
||||||
name="gitea_options[host_token][<?= $repository ?>]"
|
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') ?>">
|
placeholder="<?= __('Global Access Token', 'gitea') ?>">
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -115,7 +115,7 @@ class Gitea_Options
|
||||||
<li class="input">
|
<li class="input">
|
||||||
<input type="password" class="token"
|
<input type="password" class="token"
|
||||||
name="gitea_options[repo_token][<?= $package['url'] ?>]"
|
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') ?>">
|
placeholder="<?= __('Access Token', 'gitea') ?>">
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: Gitea Updater
|
* Plugin Name: Gitea Updater
|
||||||
* Plugin URI: http://www.paucapo.com
|
* Plugin URI: http://www.paucapo.com
|
||||||
* Description: Plugins updater
|
* Description: Plugins updater
|
||||||
* Version: 0.3.5
|
* Version: 0.3.6
|
||||||
* Author: Pau Capó
|
* Author: Pau Capó
|
||||||
* Author URI: http://www.paucapo.com
|
* Author URI: http://www.paucapo.com
|
||||||
* Text Domain: gitea
|
* Text Domain: gitea
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue