| if ($q = mysql_query("select name, safename, fullname, description from builds,mastertrees where mastertrees.tree=\"$tree\" and mastertree=mastertrees.name and (configfile=\"\" or configfile is NULL) and (patchfile=\"\" or patchfile is NULL) and status!='disabled' order by name", $dbh)) { |
if ($q = mysql_query("select name, safename, fullname, description from builds,mastertrees where mastertrees.tree=\"$tree\" and mastertree=mastertrees.name and (configfile=\"\" or configfile is NULL) and (patchfile=\"\" or patchfile is NULL) and (configpath='' or configpath is NULL) and status!='disabled' order by name", $dbh)) { |