Don't use intval for node # because some nodes are alphanumeric

This commit is contained in:
Rob Vella 2020-08-01 23:14:03 -07:00
parent e4c7683406
commit 8bd0491b3a
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
<td>{{ row.keyed }}</td> <td>{{ row.keyed }}</td>
<td>{{ row.typeLabel }}</td> <td>{{ row.typeLabel }}</td>
<td class="when">{{ row.dateTime.format('hh:mm:ss MM/DD/YY') }}</td> <td class="when">{{ row.dateTime.format('hh:mm:ss MM/DD/YY') }}</td>
<td>{{ row.info }}</td> <td v-html="row.info"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -128,7 +128,7 @@ class Stream
foreach ($obj as $node => $v) { foreach ($obj as $node => $v) {
foreach ($v->remote_nodes as $remoteNode) { foreach ($v->remote_nodes as $remoteNode) {
$via = intval($node); $via = intval($node);
$node = intval($remoteNode->node); $node = $remoteNode->node;
if ($this->isIgnored($node)) continue; if ($this->isIgnored($node)) continue;
// Capture previous keyed values // Capture previous keyed values
@ -160,4 +160,4 @@ class Stream
} }
} }
} }
} }