Skip to content

Commit

Permalink
FIX: Msf update Fields
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Oct 13, 2020
1 parent 55c3eb0 commit 7270a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/splashsync/tests/L10MsfProductsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private function isAllowedFieldForTesting($field): bool
}
//====================================================================//
// Ensure Field is Msf Field
if (isset($field->options, $field->options["shop"])) {
if (is_array($field->options) && isset($field->options["shop"])) {
if (MSM::MODE_ALL == $field->options["shop"]) {
return false;
}
Expand Down

0 comments on commit 7270a47

Please sign in to comment.