Changeset 2141859
- Timestamp:
- 08/19/2019 11:51:10 AM (7 years ago)
- File:
-
- 1 edited
-
shopbop-widget/trunk/lib/CoreWidgetPublic.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shopbop-widget/trunk/lib/CoreWidgetPublic.php
r2140530 r2141859 185 185 'id' => $this->gen_uid(), 186 186 'width' => $width, 187 'maxWidth' => isset($optionSettings['widget_max_width']) ? $optionSettings['widget_max_width'] : false,187 'maxWidth' => (is_array($optionSettings) && array_key_exists('widget_max_width', $optionSettings) && isset($optionSettings['widget_max_width'])) ? $optionSettings['widget_max_width'] : false, 188 188 'activePane' => $optionSettings['widgetPaneToOpen'], 189 189 'marketingMessage' => $mktMsg, … … 198 198 'categoryKeywordLinksSuffix' => __("and more", constant($this->widgetPrefix . 'WIDGET_TRANSLATION')), 199 199 "langCode" => $core->getLanguage(), 200 "shopBotWidgetForceLocation" => $GLOBALS['shopBotWidgetForceLocation']200 "shopBotWidgetForceLocation" => (is_array($GLOBALS) && array_key_exists('shopBotWidgetForceLocation', $GLOBALS)) ? $GLOBALS['shopBotWidgetForceLocation'] : false, 201 201 ) 202 202 );
Note: See TracChangeset
for help on using the changeset viewer.