fixed bug #536707 - undefined variables
This commit is contained in:
@@ -13,6 +13,7 @@ $Source$
|
|||||||
* Documentation.html: removed trailing whitespaces.
|
* Documentation.html: removed trailing whitespaces.
|
||||||
* libraries/display_tbl.lib.php3: very very light optimizations.
|
* libraries/display_tbl.lib.php3: very very light optimizations.
|
||||||
* tbl_change.php3: fixed bug #535984 - JS Error in tbl_change.php3.
|
* tbl_change.php3: fixed bug #535984 - JS Error in tbl_change.php3.
|
||||||
|
* tbl_replace.php3: fixed bug #536707 - undefined variables.
|
||||||
|
|
||||||
2002-03-28 Marc Delisle <lem9@users.sourceforge.net>
|
2002-03-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* sql.php3, bug #535648: bookmarks can't be saved on the second server.
|
* sql.php3, bug #535648: bookmarks can't be saved on the second server.
|
||||||
|
@@ -41,10 +41,10 @@ if (isset($after_insert) && $after_insert == 'new_insert') {
|
|||||||
. '&sql_query=' . urlencode($sql_query);
|
. '&sql_query=' . urlencode($sql_query);
|
||||||
}
|
}
|
||||||
// Defines the url to return in case of failure of the query
|
// Defines the url to return in case of failure of the query
|
||||||
if (isset($url_err)) {
|
if (isset($err_url)) {
|
||||||
$url_err = urldecode($url_err);
|
$err_url = urldecode($err_url);
|
||||||
} else {
|
} else {
|
||||||
$url_err = str_replace('&', '&', $goto)
|
$err_url = str_replace('&', '&', $goto)
|
||||||
. (empty($primary_key) ? '' : '&primary_key=' . $primary_key);
|
. (empty($primary_key) ? '' : '&primary_key=' . $primary_key);
|
||||||
}
|
}
|
||||||
// Resets tables defined in the configuration file
|
// Resets tables defined in the configuration file
|
||||||
@@ -233,7 +233,7 @@ $result = mysql_query($query);
|
|||||||
if (!$result) {
|
if (!$result) {
|
||||||
$error = mysql_error();
|
$error = mysql_error();
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
PMA_mysqlDie($error, '', '', $url_err);
|
PMA_mysqlDie($error, '', '', $err_url);
|
||||||
} else {
|
} else {
|
||||||
if (@mysql_affected_rows()) {
|
if (@mysql_affected_rows()) {
|
||||||
$message .= @mysql_affected_rows();
|
$message .= @mysql_affected_rows();
|
||||||
|
Reference in New Issue
Block a user