Changeset 8768 for trunk/MagicSoft/Mars/datacenter/db/builddatasets.php
- Timestamp:
- 11/28/07 13:43:14 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/builddatasets.php
r8622 r8768 136 136 $query0 = substr($query0, 0, -4); 137 137 138 if ( !empty($_GET["fZDMin"]) && !empty($_GET["fZDMax"]))139 $query0 .= "AND (fZenithDistanceMin > " . $_GET["fZDMin"] . " AND fZenithDistanceMax <" . $_GET["fZDMax"] . ") ";138 if ((!empty($_GET["fZDMin"]) || $_GET["fZDMin"]==0) && !empty($_GET["fZDMax"])) 139 $query0 .= "AND (fZenithDistanceMin >= " . $_GET["fZDMin"] . " AND fZenithDistanceMax <= " . $_GET["fZDMax"] . ") "; 140 140 141 141 if (!empty($_GET["fSourceN"]))
Note:
See TracChangeset
for help on using the changeset viewer.