From 2edf8d164d8e72947fd286aca911b4d6b123d9b3 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Tue, 1 Sep 2015 10:00:28 +0200
Subject: IRIS backend: fix misdetection of platform changes when multi-word
 platforms are used

---
 index.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.pl b/index.pl
index 30c8221..e99ed63 100644
--- a/index.pl
+++ b/index.pl
@@ -507,7 +507,7 @@ sub handle_request {
 					],
 					destination        => $result->destination,
 					origin             => $result->origin,
-					platform           => $platform,
+					platform           => $result->platform,
 					scheduled_platform => $result->sched_platform,
 					info               => $info,
 					is_cancelled       => $result->is_cancelled,
-- 
cgit v1.2.3