From be5e0baab45b5f0643d67c7801e5bfc728fe9145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 13 Jan 2010 13:38:38 +0000 Subject: [PATCH] Do not use translated messages for values, rather use hardcoded strings. This way we avoid possible breakage on language change. --- tbl_change.php | 4 ++-- tbl_replace.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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();