fix backend link display without front link
authorgithub138 <m.ehinger@ltur.de>
Wed, 27 Feb 2013 08:17:55 +0000 (09:17 +0100)
committergithub138 <m.ehinger@ltur.de>
Wed, 24 Jul 2013 11:24:14 +0000 (13:24 +0200)
linkmgmt.php

index 03df0a1..79198ec 100644 (file)
@@ -1194,7 +1194,7 @@ class linkmgmt_gvmap {
                                        $join .= "LEFT JOIN Link as FrontLink on Port.id in (FrontLink.porta ,FrontLink.portb)
                                                  LEFT JOIN Link as FrontRemoteLink on remotePort.id in (FrontRemoteLink.porta, FrontRemoteLink.portb)
                                                ";
-                                       $where .= " AND FrontLink.porta is not NULL AND FrontRemoteLink.porta is not NULL";
+                                       $where .= " AND ( FrontLink.porta is not NULL OR FrontRemoteLink.porta is not NULL )";
                                }
                        }
                }