Skip to content

Commit

Permalink
Use PEAR standard in PMA_getHtmlForDisplaySelectDbInEditPrivs functio…
Browse files Browse the repository at this point in the history
…n name
  • Loading branch information
mynetx committed May 14, 2013
1 parent e2ea214 commit 3f7bd7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/server_privileges.lib.php
Expand Up @@ -2262,9 +2262,9 @@ function PMA_getTableForDisplayAllTableSpecificRights($username, $hostname
*
* @return string HTML snippet
*/
function PMA_getHTmlForDisplaySelectDbInEditPrivs($found_rows)
function PMA_getHtmlForDisplaySelectDbInEditPrivs($found_rows)
{
$pred_db_array =PMA_DBI_fetch_result('SHOW DATABASES;');
$pred_db_array = PMA_DBI_fetch_result('SHOW DATABASES;');

$html_output = '<label for="text_dbname">'
. __('Add privileges on the following database') . ':</label>' . "\n";
Expand Down Expand Up @@ -3056,7 +3056,7 @@ function PMA_getHtmlForDisplayUserProperties($dbname_is_wildcard,$url_dbname,

if (! strlen($dbname)) {
// no database name was given, display select db
$html_output .= PMA_getHTmlForDisplaySelectDbInEditPrivs($found_rows);
$html_output .= PMA_getHtmlForDisplaySelectDbInEditPrivs($found_rows);

} else {
$html_output .= PMA_displayTablesInEditPrivs($dbname, $found_rows);
Expand Down

0 comments on commit 3f7bd7f

Please sign in to comment.