bug 512254 missing comma

This commit is contained in:
Marc Delisle
2002-02-03 14:30:55 +00:00
parent 87695b65e7
commit 28bde7dbb1
2 changed files with 2 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ $Source$
2002-02-02 Marc Delisle <lem9@users.sourceforge.net>
* db_stats.php3, db_details.php3, mult_submits.inc.php3,
tbl_properties.php3: Button to optimize many tables
* user_details.php3, bug 512254, missing comma for REFERENCES
2002-02-01 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.inc.php3, add a link to doc for column types

View File

@@ -1,7 +1,6 @@
<?php
/* $Id$*/
/**
* Gets some core libraries
*/
@@ -84,7 +83,7 @@ function PMA_tableGrants(&$host_db_result, $dbcheck = FALSE) {
if ($parts[1] == 'USAGE') {
$priv = '';
} else {
$priv = ereg_replace('REFERENCE([^S]|$)', 'REFERENCES', trim($parts[1]));
$priv = ereg_replace('REFERENCE([^S]|$)', 'REFERENCES\\1', trim($parts[1]));
}
$db = $parts[2];
$table = trim($parts[3]);