Set the mac address to lower case.

This commit is contained in:
markjcrane
2016-01-16 11:58:22 -07:00
parent b67f9dee45
commit afd92882c9

View File

@@ -209,7 +209,7 @@ include "root.php";
$prep_statement_2 = $this->db->prepare(check_sql($sql));
if ($prep_statement_2) {
//use the prepared statement
$prep_statement_2->bindParam(':mac', $mac);
$prep_statement_2->bindParam(':mac', strtolower($mac));
if($provision['http_domain_filter'] == "true") {
$prep_statement_2->bindParam(':domain_uuid', $domain_uuid);
}