chiark / gitweb /
Fix unticking
[ypp-sc-tools.db-test.git] / yarrg / web / routetrade
index 7d9dd8be7dc94c3e8af01de38968a1a51ef4dd33..97359a9fc1fea4920f7a6deaad345d775a34d036 100644 (file)
             trades to start ith and have a button to show all?
 16:39 <ceb> Also, maybe colour to highlight the suggested trades?
 
-16:40 <ceb> can it give a total investment/profit for the suggested trades?
 16:40 <ceb> columns should be sortable with the small arrows as before
 
-16:46 <Diziet> Oh the unticking has become broken.
-
 16:51 <ceb> YPP interfaces have price then qty. You have qty then price. This 
             is confusing!
 16:51 <ceb> 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;
        }