Skip to content
Snippets Groups Projects
Commit ba035595 authored by xaver's avatar xaver
Browse files

Added part of #1594, removed PHP Deprecated: Call-time pass-by-reference

parent ee5a16e9
No related branches found
No related tags found
No related merge requests found
...@@ -196,7 +196,7 @@ function _getServerState($serverId, $serverName) { ...@@ -196,7 +196,7 @@ function _getServerState($serverId, $serverName) {
$ispcData = null; $ispcData = null;
foreach($records as $record) { foreach($records as $record) {
/* get the state from the db-data */ /* get the state from the db-data */
_processDbState($record['type'], $serverId, &$serverState, &$messages); _processDbState($record['type'], $serverId, $serverState, $messages);
/* if we have the os-info, get it */ /* if we have the os-info, get it */
if ($record['type'] == 'os_info') { if ($record['type'] == 'os_info') {
$osData = unserialize($record['data']); $osData = unserialize($record['data']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment