Commit 633ebd35 authored by Adrian Rossouw's avatar Adrian Rossouw

argument was missing and was breaking install (i think).

parent 20e3f754
......@@ -118,7 +118,7 @@ function hosting_services_new_object($name, $type, $node, $values = null) {
function hosting_services_add(&$node, $name, $type, $values = array()) {
$values['available'] = (isset($values['available'])) ? $values['available'] : 1;
if ($service_object = hosting_services_new_object($name, $node, $values)) {
if ($service_object = hosting_services_new_object($name, $type, $node, $values)) {
$node->services[$name] = $service_object;
}
}
......
Markdown is supported
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