Add a missing keyword function.

This commit is contained in:
markjcrane 2016-01-09 09:46:43 -07:00
parent a2bfb8ff94
commit abed276070
1 changed files with 2 additions and 2 deletions

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