Fixed a bug in db_details.php3 if there is no indexes

This commit is contained in:
Loïc Chapeaux
2001-07-10 08:28:28 +00:00
parent 7185315db4
commit aedcaa11b7
2 changed files with 4 additions and 1 deletions

View File

@@ -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">