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

@@ -8,6 +8,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
3.3.7.0 (not yet released)
- patch #3050492 [PDF scratchboard] Cannot drag table box to the edge after
a page size increase, thanks to Martin Schönberger - mad05
- bug #3054458 [core] Fixed displaying number of rows.
3.3.6.0 (2010-08-28)
- bug #3033063 [core] Navi gets wrong db name

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>';