This commit is contained in:
Alexander M. Turek
2005-03-10 21:40:44 +00:00
parent c84507f8d9
commit a4a372597d
2 changed files with 4 additions and 1 deletions

View File

@@ -469,7 +469,7 @@ function PMA_getComments($db, $table = '') {
}
if (PMA_DBI_num_rows($com_rs) > 0) {
if (isset($com_rs) && PMA_DBI_num_rows($com_rs) > 0) {
$i = 0;
while ($row = PMA_DBI_fetch_assoc($com_rs)) {
$i++;