diff --git a/Verbraucher_extern/module.php b/Verbraucher_extern/module.php index 78f4ac5..cea3453 100644 --- a/Verbraucher_extern/module.php +++ b/Verbraucher_extern/module.php @@ -97,7 +97,7 @@ class Verbraucher_extern extends IPSModule } for ($i = $startIndex; $i < count($values); $i++) { $currentCombination[] = $values[$i]; - if (findCombinationRecursive($power - $values[$i], $values, $currentCombination, $i + 1, $result)) { + if ($this->findCombinationRecursive($power - $values[$i], $values, $currentCombination, $i + 1, $result)) { return true; } array_pop($currentCombination);