Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M. Turek <me@derrabus.de>2003-12-11 14:37:25 +0300
committerAlexander M. Turek <me@derrabus.de>2003-12-11 14:37:25 +0300
commit220aa3a4c01e5db70f7fb883bc5589a50e2fe432 (patch)
treeed90f294d4600b87bf3f91b1e86a1ea49c11995a /server_collations.php
parent079c6629083ea01e18f351a5dc0e5747b24e52e6 (diff)
MySQL 4.1.1 compatibility, part I: Updated character sets overview.
Diffstat (limited to 'server_collations.php')
-rw-r--r--server_collations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server_collations.php b/server_collations.php
index 851de77607..1fbbb9d654 100644
--- a/server_collations.php
+++ b/server_collations.php
@@ -58,7 +58,7 @@ $i = 0;
$table_row_count = count($mysql_charsets) + $mysql_collations_count;
foreach ($mysql_charsets as $current_charset) {
- if ($i > $table_row_count / 2) {
+ if ($i >= $table_row_count / 2) {
$i = 0;
echo ' </table>' . "\n"
. ' </td>' . "\n"
@@ -77,7 +77,7 @@ foreach ($mysql_charsets as $current_charset) {
echo ' <tr>' . "\n"
. ' <td colspan="2" bgcolor="' . $cfg['ThBgcolor'] . '" align="right">' . "\n"
. ' &nbsp;<b>' . htmlspecialchars($current_charset) . '</b>' . "\n"
- . ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>)&nbsp;' . "\n"
+ . (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>)&nbsp;' . "\n")
. ' </td>' . "\n"
. ' </tr>' . "\n";
$useBgcolorOne = TRUE;