Fixed a bug in db_details.php3 if there is no indexes
This commit is contained in:
@@ -11,6 +11,7 @@ $Source$
|
||||
$cfgServerDefault is set to 0 in the config file.
|
||||
* db_details.php3, tbl_properties.php3: fixed display problems with NS4+
|
||||
(including bug #439962).
|
||||
* db_details.php3, line 185: fixed a bug if there is no indexes.
|
||||
|
||||
2001-07-09 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* db_details.php3, lines 273-275: vertically center bookmarks options.
|
||||
|
@@ -182,7 +182,9 @@ while ($row = mysql_fetch_array($result)) {
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<?php
|
||||
$index_count = count($ret_keys);
|
||||
$index_count = (isset($ret_keys))
|
||||
? count($ret_keys)
|
||||
: 0;
|
||||
if ($index_count > 0) {
|
||||
?>
|
||||
<td valign="top" align="left">
|
||||
|
Reference in New Issue
Block a user