Index: trunk/www/db_po/insert_po.php
===================================================================
--- trunk/www/db_po/insert_po.php	(revision 11771)
+++ trunk/www/db_po/insert_po.php	(revision 11991)
@@ -27,5 +27,5 @@
         return;
     }
-    if (empty($_GET["fValue"]))
+    if (empty($_GET["fValue"]) && $_GET["fValue"]!=0)
     {
         echo "Please insert a value.<br>";
@@ -39,5 +39,5 @@
     if (empty($_GET["fType"]))
     {
-        echo "Please select a type.<br>";
+        echo "type empty";
         return;
     }
@@ -47,7 +47,7 @@
     if (empty($_GET["fOriginalIndex"]))
         $_GET["fOriginalIndex"]="";
-    if (empty($_GET["fMin"]))
+    if (empty($_GET["fMin"]) && $_GET["fMin"]!=0)
         $_GET["fMin"]="";
-    if (empty($_GET["fMax"]))
+    if (empty($_GET["fMax"]) && $_GET["fMax"]!=0)
         $_GET["fMax"]="";
 
@@ -156,7 +156,7 @@
         if (!empty($_GET["fOriginalIndex"]))
             $query0.=", fOriginalIndex='".$_GET["fOriginalIndex"]."'";
-        if (!empty($_GET["fMin"]))
+        if (!empty($_GET["fMin"]) || $_GET["fMin"]==0)
             $query0.=", fMin='".$_GET["fMin"]."'";
-        if (!empty($_GET["fMax"]))
+        if (!empty($_GET["fMax"]) || $_GET["fMax"]==0)
             $query0.=", fMax='".$_GET["fMax"]."'";
         $query0.=", fUser='".$_SERVER['PHP_AUTH_USER']."'";
