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/findoffdata.php

    r8333 r8768  
    127127            $query0 = substr($query0, 0, -4);
    128128
    129         if (!empty($_GET["fZDMin"]) && !empty($_GET["fZDMax"]))
    130             $query0 .= "AND (fZenithDistanceMin > " . $_GET["fZDMin"] . " AND fZenithDistanceMax < " . $_GET["fZDMax"] . ") ";
     129        if ((!empty($_GET["fZDMin"]) || $_GET["fZDMin"]==0) && !empty($_GET["fZDMax"]))
     130            $query0 .= "AND (fZenithDistanceMin >= " . $_GET["fZDMin"] . " AND fZenithDistanceMax <= " . $_GET["fZDMax"] . ") ";
    131131
    132132        if (!empty($_GET["fSourceN"]))
Note: See TracChangeset for help on using the changeset viewer.