diff --git a/tbl_change.php b/tbl_change.php index c2fb93aa9..e3b660d52 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -1101,11 +1101,11 @@ foreach ($rows as $row_id => $vrow) { - + - + use the WHERE clause $loop_array = (is_array($_REQUEST['where_clause']) ? $_REQUEST['where_clause'] : array($_REQUEST['where_clause'])); $using_key = true; - $is_insert = ($_REQUEST['submit_type'] == $GLOBALS['strInsertAsNewRow']); + $is_insert = ($_REQUEST['submit_type'] == 'insert'); } else { // new row => use indexes $loop_array = array();