summaryrefslogtreecommitdiff
path: root/views/admin/form/input.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-09-17 06:24:22 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-09-17 06:24:22 +0000
commit1c86a53b2d338d608ee1e418997e7beb23cc582a (patch)
treeefc86db49d35ca549da3d9c01b61f72abddaf70c /views/admin/form/input.phtml
parent31681a82ade1e375414e62e141c7720364802b0b (diff)
- Sanitize Productcontroller
- Fallback für Option git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7570 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/form/input.phtml')
-rw-r--r--views/admin/form/input.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml
index 8ed0b76..d8b835c 100644
--- a/views/admin/form/input.phtml
+++ b/views/admin/form/input.phtml
@@ -8,7 +8,7 @@
<input
type="<?php echo wpsg_getStr($this->view['field_config']['type'], 'text'); ?>"
class="form-control input-sm"
- <?php if (($this->view['field_config']['autocomplete']??true) === false) { ?> autocomplete="off" <?php } ?>
+ <?php if (!wpsg_isTrue($this->view['field_config']['autocomplete'])) { ?> autocomplete="off" <?php } ?>
name="<?php echo $this->view['field_name']; ?>"
tabindex="<?php