diff --git a/ChangeLog b/ChangeLog index bda572dee..c967fd5f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -42,6 +42,7 @@ $HeadURL$ - bug [gui] query window icon did not work, thanks to Jürgen Wind - windkiel . [general] use PMA_getenv('PHP_SELF') - bug #1676033 [core] pow(int,int) causes overflow +- bug #1680952 [core] undefined function PMA_getUvaCondition() 2.10.0.3 (not released yet) ===================== diff --git a/tbl_replace.php b/tbl_replace.php index 318f76c58..4de64ae0d 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -20,7 +20,7 @@ * @uses PMA_DBI_affected_rows() * @uses PMA_DBI_insert_id() * @uses PMA_backquote() - * @uses PMA_getUvaCondition() + * @uses PMA_getUniqueCondition() * @uses PMA_sqlAddslashes() * @uses PMA_securePath() * @uses PMA_sendHeaderLocation() @@ -98,7 +98,7 @@ if (isset($_REQUEST['after_insert']) $res = PMA_DBI_query($local_query); $row = PMA_DBI_fetch_row($res); $meta = PMA_DBI_get_fields_meta($res); - $url_params['primary_key'][] = PMA_getUvaCondition($res, count($row), $meta, $row); + $url_params['primary_key'][] = PMA_getUniqueCondition($res, count($row), $meta, $row); } } }