Skip to content

Commit

Permalink
fixed problem with EXECUTE button
Browse files Browse the repository at this point in the history
  • Loading branch information
differ committed Feb 8, 2012
1 parent 5060fcb commit 0f4e341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compare.php
Expand Up @@ -221,7 +221,7 @@ function validate($file) {
$files = $_GET['file'];
$op = $_GET['op'];
$action = $_GET['action'];
if ((count($files) == 2 || count($files) == 1) && ($action == "compare" || $action == "execute")) {
if ((count($files) == 2 || count($files) == 1) && ($action == "compare" || $action == "execute" || $action == "EXECUTE")) {
if (count($files) == 2) {
$xml = compare($files[0], $files[1]);
} else {
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -106,7 +106,7 @@ function delete_all_profiles() {
}

$action = $_REQUEST["action"];
if ($action == "compare" || $action == "execute") {
if ($action == "compare" || $action == "EXECUTE") {
header("Location: compare.php?" . $_SERVER['QUERY_STRING']);
} else if ($action == "delete_all_files") {
delete_all_files();
Expand Down

0 comments on commit 0f4e341

Please sign in to comment.