Skip to content

Commit

Permalink
Update regextester.php
Browse files Browse the repository at this point in the history
Fix undefined variable error
  • Loading branch information
tienidurodad committed Jun 14, 2019
1 parent 9cfa3da commit c92d712
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nginx-regex-tester/regextester/regextester.php
Expand Up @@ -94,7 +94,9 @@
$errMsg = 'A regular expression must be entered. ';
}
$valueToTest = trim($_POST['frmValueToTest']);
$caseSensitive = $_POST['frmCaseSensitive'];
if (isset($_POST['frmCaseSensitive'])) {
$caseSensitive = 1;
}
if ($caseSensitive) {
$cbChecked = "checked";
}
Expand Down

0 comments on commit c92d712

Please sign in to comment.