Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-02-24 18:42:41 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-24 18:42:41 +0300
commitfe439db6c1ade6a363eabdf7b1e5e1a1a7dcb56d (patch)
treee80e7d13c9d9daa426026a2f9bc45bbf6cd10018 /templates
parentaa5446abe1edd499928297bad70e62a8488586c1 (diff)
Check for yes instead not empty
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'templates')
-rw-r--r--templates/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php
index eca2a983..701f7835 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -18,7 +18,7 @@ script('files', 'jquery.fileupload');
<input type="text" name="wopi_url" id="wopi_url" value="<?php p($_['wopi_url'])?>" style="width: 300px; display: block;">
<em><?php p($l->t('URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.')) ?></em>
<br/>
- <input type="checkbox" class="checkbox" id="disable_certificate_verification" <?php p($_['disable_certificate_verification'] !== '' ? 'checked' : '') ?> />
+ <input type="checkbox" class="checkbox" id="disable_certificate_verification" <?php p($_['disable_certificate_verification'] === 'yes' ? 'checked' : '') ?> />
<label for="disable_certificate_verification"><?php p($l->t('Disable certificate verification (insecure)')) ?></label>
<div>
<em><?php p($l->t('Enable if your Collabora Online server uses a self signed certificate')) ?></em>