summaryrefslogtreecommitdiffstats
path: root/endpoints/lib/vboxconnector.php
diff options
context:
space:
mode:
Diffstat (limited to 'endpoints/lib/vboxconnector.php')
-rw-r--r--endpoints/lib/vboxconnector.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php
index 8c4953c..68c3499 100644
--- a/endpoints/lib/vboxconnector.php
+++ b/endpoints/lib/vboxconnector.php
@@ -3391,7 +3391,8 @@ class vboxconnector {
* Processors
*/
for($i = 0; $i < $host->processorCount; $i++) {
- $response['cpus'][$i] = $host->getProcessorDescription($i);
+ // TODO https://github.com/phpvirtualbox/phpvirtualbox/issues/53
+ $response['cpus'][$i] = $host->getProcessorDescription(0);
}
/*