From cfb91181c6dec6df662af8325c0293d4c2e8be25 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 23 Aug 2009 17:04:29 +0100 Subject: [PATCH] Fix unticking --- yarrg/web/routetrade | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/yarrg/web/routetrade b/yarrg/web/routetrade index 7d9dd8b..97359a9 100644 --- a/yarrg/web/routetrade +++ b/yarrg/web/routetrade @@ -45,11 +45,8 @@ trades to start ith and have a button to show all? 16:39 Also, maybe colour to highlight the suggested trades? -16:40 can it give a total investment/profit for the suggested trades? 16:40 columns should be sortable with the small arrows as before -16:46 Oh the unticking has become broken. - 16:51 YPP interfaces have price then qty. You have qty then price. This is confusing! 16:51 the max column ordering is OK @@ -299,7 +296,8 @@ die "$cmpu $uue ?" if length $cmpu > 20; die "$f->{UidLong} = $f->{UidShort} = $recons_long ?"; } - if ($qa->{"R$f->{UidShort}"} && !$qa->{"T$f->{UidShort}"}) { + if (defined $qa->{"R$f->{UidShort}"} && + !defined $qa->{"T$f->{UidShort}"}) { $f->{Suppress}= 1; } -- 2.30.2