Ignore:
Timestamp:
11/28/07 13:43:14 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php

    r8476 r8768  
    140140            $query0 = substr($query0, 0, -4);
    141141
    142         if (!empty($_GET["fZDMin"]) && !empty($_GET["fZDMax"]))
    143             $query0 .= "AND (fZenithDistanceMin > " . $_GET["fZDMin"] . " AND fZenithDistanceMax < " . $_GET["fZDMax"] . ") ";
     142        if ((!empty($_GET["fZDMin"]) || $_GET["fZDMin"]==0) && !empty($_GET["fZDMax"]))
     143            $query0 .= "AND (fZenithDistanceMin >= " . $_GET["fZDMin"] . " AND fZenithDistanceMax <= " . $_GET["fZDMax"] . ") ";
    144144
    145145        if (!empty($_GET["fSourceN"]))
Note: See TracChangeset for help on using the changeset viewer.