bug #649641
This commit is contained in:
@@ -13,8 +13,9 @@ $Source$
|
|||||||
was equal to textheight, i added one mm above and below text
|
was equal to textheight, i added one mm above and below text
|
||||||
(hope your tables are not too big not to fit on a page now ;)
|
(hope your tables are not too big not to fit on a page now ;)
|
||||||
|
|
||||||
2002-12-05 Alexander M. Turek <rabus@users.sourceforge.net>
|
2002-12-06 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
* lang/german.inc.php3: Updates.
|
* lang/german.inc.php3: Updates.
|
||||||
|
* main.php3: Fixed bug #649641 (usernames containing '@' character).
|
||||||
|
|
||||||
2002-12-06 Marc Delisle <lem9@users.sourceforge.net>
|
2002-12-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/*.php3, pdf_schema.php3, pdf_pages.php3, db_details_structure.php3:
|
* lang/*.php3, pdf_schema.php3, pdf_pages.php3, db_details_structure.php3:
|
||||||
|
@@ -75,7 +75,7 @@ if ($server > 0) {
|
|||||||
$local_query = 'SELECT VERSION() as version, USER() as user';
|
$local_query = 'SELECT VERSION() as version, USER() as user';
|
||||||
$res = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, FALSE, '');
|
$res = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, FALSE, '');
|
||||||
$mysql_cur_user_and_host = PMA_mysql_result($res, 0, 'user');
|
$mysql_cur_user_and_host = PMA_mysql_result($res, 0, 'user');
|
||||||
$mysql_cur_user = substr($mysql_cur_user_and_host, 0, strpos($mysql_cur_user_and_host, '@'));
|
$mysql_cur_user = substr($mysql_cur_user_and_host, 0, strrpos($mysql_cur_user_and_host, '@'));
|
||||||
|
|
||||||
$full_string = str_replace('%pma_s1%', PMA_mysql_result($res, 0, 'version'), $strMySQLServerProcess);
|
$full_string = str_replace('%pma_s1%', PMA_mysql_result($res, 0, 'version'), $strMySQLServerProcess);
|
||||||
$full_string = str_replace('%pma_s2%', $server_info, $full_string);
|
$full_string = str_replace('%pma_s2%', $server_info, $full_string);
|
||||||
|
Reference in New Issue
Block a user