Add a missing keyword function.

This commit is contained in:
markjcrane
2016-01-09 09:46:43 -07:00
parent 97ab1c9c87
commit 3fddd940ec

View File

@@ -127,7 +127,7 @@ include "root.php";
}
//set the mac address in the correct format for the specific vendor
public format_mac($mac, $vendor) {
public function format_mac($mac, $vendor) {
switch (strtolower($vendor)) {
case "aastra":
$mac = strtoupper($mac);
@@ -148,7 +148,7 @@ include "root.php";
return $mac;
}
function render() {
public function render() {
//debug
$debug = $_REQUEST['debug']; // array