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

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

View File

@@ -7,6 +7,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
2.11.11.0 (not yet released) 2.11.11.0 (not yet released)
- [core] Fix broken cleanup of $_GET - [core] Fix broken cleanup of $_GET
- bug #3054458 [core] Fixed displaying number of rows.
2.11.10.1 (2010-08-20) 2.11.10.1 (2010-08-20)
- [setup] Fixed output sanitizing in setup script, see PMASA-2010-4 for - [setup] Fixed output sanitizing in setup script, see PMASA-2010-4 for

View File

@@ -2425,7 +2425,15 @@ if (! defined('PMA_MINIMUM_COMMON')) {
} }
$after .= "\n"; $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 } // end for
if ($mode=='color') { if ($mode=='color') {
$str .= '</span>'; $str .= '</span>';