This commit is contained in:
Marc Delisle
2005-04-16 14:59:56 +00:00
parent 72cbeb2cdf
commit e506681951
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ $Source$
* lang/spanish: Updated, thanks to Daniel Hinostroza (hinostroza).
* lang/galician: Updates, thanks to Xosé Calvo.
* new language: belarusian, thanks to Jaska Zedlik <jz53 at zedlik.com>
* tbl_properties_export.php: bug #1180860, error going from Export
to Insert tab
2005-04-14 Marc Delisle <lem9@users.sourceforge.net>
* db_details_structure.php: Search icon centering

View File

@@ -38,7 +38,8 @@ if (isset($sql_query)) {
if (!empty($analyzed_sql[0]['from_clause'])) {
$sql_query .= ' FROM ' . $analyzed_sql[0]['from_clause'];
}
if (isset($primary_key)) {
if (isset($primary_key) && is_array($primary_key)) {
$sql_query .= ' WHERE ';
$conj = '';
foreach ($primary_key AS $i => $key) {