Commit cb646ab8 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(opsi): Added missing d in getMacAddresses

issue #5737
Showing with 2 additions and 2 deletions
+2 -2
...@@ -158,7 +158,7 @@ class opsiClient extends simplePlugin ...@@ -158,7 +158,7 @@ class opsiClient extends simplePlugin
} }
} }
function getMacAdresses() function getMacAddresses()
{ {
global $config; global $config;
$macAddresses = array(); $macAddresses = array();
...@@ -193,7 +193,7 @@ class opsiClient extends simplePlugin ...@@ -193,7 +193,7 @@ class opsiClient extends simplePlugin
{ {
global $config; global $config;
$s_daemon = new supportDaemon(); $s_daemon = new supportDaemon();
$macAddresses = $this->getMacAdresses(); $macAddresses = $this->getMacAddresses();
if (!empty($macAddresses) && $s_daemon->is_available()) { if (!empty($macAddresses) && $s_daemon->is_available()) {
$s_daemon->append_call('OPSI.update_or_insert', $macAddresses, array()); $s_daemon->append_call('OPSI.update_or_insert', $macAddresses, array());
if ($s_daemon->is_error()) { if ($s_daemon->is_error()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment