Skip to content

Commit

Permalink
Fix warning "Undefined index: exec_disabled".
Browse files Browse the repository at this point in the history
  • Loading branch information
realdigger committed Mar 3, 2017
1 parent 90c336e commit 56eb95c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Themes/default/GarageSettings.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ function template_image_settings()
<td width="50%">
';
if (!$context['im_convert']) {
if ($context['exec_disabled']) {
if (!empty($context['exec_disabled'])) {
echo $txt['smfg_exec_disabled_warning'];
} else {
echo $txt['smfg_im_convert_warning'];
Expand All @@ -1094,7 +1094,7 @@ function template_image_settings()
<td width="50%">
';
if (!$context['im_composite']) {
if ($context['exec_disabled']) {
if (!empty($context['exec_disabled'])) {
echo $txt['smfg_exec_disabled_warning'];
} else {
echo $txt['smfg_im_composite_warning'];
Expand Down

0 comments on commit 56eb95c

Please sign in to comment.