]> git.pld-linux.org Git - packages/lms.git/commitdiff
- fixed sql error
authorTomek Orzechowski <orzech@pld-linux.org>
Thu, 17 Feb 2005 08:58:21 +0000 (08:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lms-misc_mods.patch -> 1.2

lms-misc_mods.patch

index 88f8af20e77dedfc5f5c89267c36e79a44111dc0..0b6fb0098f51bdc34d05d4c98ff399d35334822e 100644 (file)
@@ -5,7 +5,7 @@
                # BUILD NODELIST
                
 -              $dbq = $dbase->prepare("SELECT ipaddr, mac, access, nodes.id as id, ownerid, nodes.name as name, warning, nodes.info AS info, pin FROM nodes, users WHERE users.id=nodes.ownerid");
-+              $dbq = $dbase->prepare("SELECT ipaddr, mac, access, nodes.id as id, ownerid, nodes.name as name, warning, nodes.info AS info, pin FROM nodes");
++              $dbq = $dbase->prepare("SELECT ipaddr, mac, access, nodes.id as id, ownerid, nodes.name as name, warning, nodes.info AS info, pin FROM nodes LEFT JOIN users ON users.id=nodes.ownerid");
                $dbq->execute();
  
                my %maclist;
This page took 0.039573 seconds and 4 git commands to generate.