bug #3054458 [core] Fixed displaying number of rows.

This commit is contained in:
Michal Čihař
2010-08-30 14:15:23 +02:00
parent 1052956cc9
commit 4a234050f2
2 changed files with 10 additions and 1 deletions

View File

@@ -2456,7 +2456,15 @@ if (! defined('PMA_MINIMUM_COMMON')) {
}
$after .= "\n";
*/
$str .= $before . ($mode=='color' ? PMA_SQP_formatHTML_colorize($arr[$i]) : htmlspecialchars($arr[$i]['data'])). $after;
$str .= $before;
if ($mode=='color') {
$str .= PMA_SQP_formatHTML_colorize($arr[$i]);
} elseif ($mode == 'text') {
$str .= htmlspecialchars($arr[$i]['data']);
} else {
$str .= $arr[$i]['data'];
}
$str .= $after;
} // end for
if ($mode=='color') {
$str .= '</span>';