Skip to content

Commit

Permalink
Fixed small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xdanx committed Jul 24, 2018
1 parent 8f86211 commit e8a04e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/application/libraries/Global_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,13 @@ public function jobs_add ($yara_rules, $yara_fileset_scan, $return_jobs_ids = fa
$non_ascii_message = "Rule contains non-ASCII chars between '" . $message_before .
"' AND '" . $message_after . "'";
else
$non_ascii_message = "Rule contains non-ASCII charachets between <pre>".
$non_ascii_message = "Rule contains non-ASCII chars between <pre>".
$message_before . "</pre> AND <pre>".
$message_after . "</pre>";
return $this->api_generate_error_json($non_ascii_message);
}
else
return $this->api_generate_error_json("Rule contains non-ASCII characters. Please retry");
return $this->api_generate_error_json("Rule contains non-ASCII chars. Please retry");
}

if (!is_array($yara_fileset_scan))
Expand Down

0 comments on commit e8a04e7

Please sign in to comment.