projects
/
WP-Plugins
/
glm-wp-importer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1cd90
)
Removing error.
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 8 Nov 2016 13:37:38 +0000
(08:37 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 8 Nov 2016 13:37:38 +0000
(08:37 -0500)
Check for value in view file.
views/checkbox.php
patch
|
blob
|
history
diff --git
a/views/checkbox.php
b/views/checkbox.php
index
47336b8
..
5238df3
100644
(file)
--- a/
views/checkbox.php
+++ b/
views/checkbox.php
@@
-1,5
+1,5
@@
<input type="checkbox" name="<?php echo GLM_WP_IMPORT_SETTINGS;?>[<?php echo $fieldName;?>]"
-value="1" <?php if (
$options[$fieldName]
) {
+value="1" <?php if (
isset( $options[$fieldName] ) && $options[$fieldName]
) {
echo ' checked';
}
?>>