Changeset 18802 for trunk/www/db_po/insert_po.php
- Timestamp:
- 04/03/17 05:25:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/insert_po.php
r11991 r18802 190 190 $query0.=" WHERE fIndex=".$_GET["fIndex"]; 191 191 if ($_GET["fUpdCase"]==6) 192 $query0.=" AND fValidFrom=' 0000-00-0000:00:00'";192 $query0.=" AND fValidFrom='1970-01-01 00:00:00'"; 193 193 $query0.=";"; 194 194 … … 204 204 if ($_GET["fUpdCase"]==3 || $_GET["fUpdCase"]==4) 205 205 $query0.=" AND NOT fIndex=".$_GET["fIndex"]; 206 $query0.=" AND ((NOT ISNULL(fValue) AND NOT fValidFrom=' 0000-00-0000:00:00') ";//normal entries, but not deleted ones207 $query0.=" OR (ISNULL(fValue) AND fValidFrom=' 0000-00-0000:00:00')); ";//new entries206 $query0.=" AND ((NOT ISNULL(fValue) AND NOT fValidFrom='1970-01-01 00:00:00') ";//normal entries, but not deleted ones 207 $query0.=" OR (ISNULL(fValue) AND fValidFrom='1970-01-01 00:00:00')); ";//new entries 208 208 209 209 //insert new counter to history
Note:
See TracChangeset
for help on using the changeset viewer.