Skip to content

Commit

Permalink
wblist.php: Added isset check on line 108 to avoid php NOTICE in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
styelz committed Feb 24, 2018
1 parent 42d9ac8 commit ce9999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/wblist.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
$actiontext = $lang['text_remove_rule'];
break;
}
if ($_REQUEST['ajax'] == 'true') {
if (isset($_REQUEST['ajax']) && $_REQUEST['ajax'] == 'true') {
?>
$('#viewmessage').html('<div class="messagebox"><?php echo htmlspecialchars($lang[$result]); ?></div>');
$('#viewmessage div').effect("highlight", {
Expand Down

0 comments on commit ce9999b

Please sign in to comment.