Changeset 11991 for trunk/www/db_po
- Timestamp:
- 09/06/11 22:34:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/insert_po.php
r11771 r11991 27 27 return; 28 28 } 29 if (empty($_GET["fValue"]) )29 if (empty($_GET["fValue"]) && $_GET["fValue"]!=0) 30 30 { 31 31 echo "Please insert a value.<br>"; … … 39 39 if (empty($_GET["fType"])) 40 40 { 41 echo " Please select a type.<br>";41 echo "type empty"; 42 42 return; 43 43 } … … 47 47 if (empty($_GET["fOriginalIndex"])) 48 48 $_GET["fOriginalIndex"]=""; 49 if (empty($_GET["fMin"]) )49 if (empty($_GET["fMin"]) && $_GET["fMin"]!=0) 50 50 $_GET["fMin"]=""; 51 if (empty($_GET["fMax"]) )51 if (empty($_GET["fMax"]) && $_GET["fMax"]!=0) 52 52 $_GET["fMax"]=""; 53 53 … … 156 156 if (!empty($_GET["fOriginalIndex"])) 157 157 $query0.=", fOriginalIndex='".$_GET["fOriginalIndex"]."'"; 158 if (!empty($_GET["fMin"]) )158 if (!empty($_GET["fMin"]) || $_GET["fMin"]==0) 159 159 $query0.=", fMin='".$_GET["fMin"]."'"; 160 if (!empty($_GET["fMax"]) )160 if (!empty($_GET["fMax"]) || $_GET["fMax"]==0) 161 161 $query0.=", fMax='".$_GET["fMax"]."'"; 162 162 $query0.=", fUser='".$_SERVER['PHP_AUTH_USER']."'";
Note:
See TracChangeset
for help on using the changeset viewer.