From f10a953ff3884d2cc2103ea7f013463787c97317 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 15 Mar 2007 17:15:43 +0000 Subject: [PATCH] bug #1680952 [core] undefined function PMA_getUvaCondition() --- ChangeLog | 1 + tbl_replace.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c2b333b2..0787337a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ $HeadURL$ - bug #1672379 [core] Call to undefined function PMA_removeCookie() . [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 9c2f97b70..c5457e974 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); } } }