diff --git a/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php b/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php index a9839565b..f39b0b4c3 100644 --- a/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php +++ b/modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php @@ -108,7 +108,8 @@ abstract class CommandTransport */ public static function first() { - $config = self::getConfig()->current(); - return self::fromConfig($config); + $config = self::getConfig(); + $config->rewind(); + return self::fromConfig($config->current()); } }