Explorar el Código

StreamController no longer reverses message array

logicp hace 7 años
padre
commit
4dcd3c9431
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Controller/HeartbeatStreamController.php

+ 1 - 1
src/Controller/HeartbeatStreamController.php

@@ -94,7 +94,7 @@ class HeartbeatStreamController extends ControllerBase {
     }
     return [
       '#theme' => 'heartbeat_stream',
-      '#messages' => array_reverse($messages),
+      '#messages' => $messages,
       '#attached' => array('library' => 'heartbeat/heartbeat')
     ];