diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-14 07:39:21 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-14 07:39:21 +0400 |
commit | 33321518591ade27e1651bf3e912d6bdecb7f342 (patch) | |
tree | ee0a53b563ed0f641dd90faccadf2bbda26ec2e0 /pmd_pdf.php | |
parent | e6626004155fbf2932c36e84bc3c251b2a76dce3 (diff) |
Fix Checkstyle Warnings - Type: CloseBracketLine (Closing parenthesis of a multi-line function call must be on a line by itself)
Diffstat (limited to 'pmd_pdf.php')
-rw-r--r-- | pmd_pdf.php | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/pmd_pdf.php b/pmd_pdf.php index e1794f8c54..d2e318cb85 100644 --- a/pmd_pdf.php +++ b/pmd_pdf.php @@ -44,16 +44,18 @@ if (isset($mode)) { if ('import' == $mode) { PMA_query_as_controluser( - 'UPDATE ' . $pma_table . ',' . $pmd_table . - ' SET ' . $pmd_table . '.`x`= ' . $pma_table . '.`x` * '. $scale_q . ', - ' . $pmd_table . '.`y`= ' . $pma_table . '.`y` * '. $scale_q .' - WHERE - ' . $pmd_table . '.`db_name`=' . $pma_table . '.`db_name` - AND - ' . $pmd_table . '.`table_name` = ' . $pma_table . '.`table_name` - AND - ' . $pmd_table . '.`db_name`=\''. PMA_sqlAddSlashes($db) .'\' - AND pdf_page_number = ' . $pdf_page_number_q . ';', true, PMA_DBI_QUERY_STORE); + 'UPDATE ' . $pma_table . ',' . $pmd_table . + ' SET ' . $pmd_table . '.`x`= ' . $pma_table . '.`x` * '. $scale_q . ', + ' . $pmd_table . '.`y`= ' . $pma_table . '.`y` * '. $scale_q .' + WHERE + ' . $pmd_table . '.`db_name`=' . $pma_table . '.`db_name` + AND + ' . $pmd_table . '.`table_name` = ' . $pma_table . '.`table_name` + AND + ' . $pmd_table . '.`db_name`=\''. PMA_sqlAddSlashes($db) .'\' + AND pdf_page_number = ' . $pdf_page_number_q . ';', + true, PMA_DBI_QUERY_STORE + ); } } @@ -77,9 +79,11 @@ echo '<fieldset><legend>' . __('Import/Export coordinates for PDF schema') . '</ $choices = array(); -$table_info_result = PMA_query_as_controluser('SELECT * FROM ' - . PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' . PMA_backquote($cfgRelation['pdf_pages']) - . ' WHERE db_name = \'' . PMA_sqlAddSlashes($db) . '\''); +$table_info_result = PMA_query_as_controluser( + 'SELECT * FROM ' . PMA_backquote($GLOBALS['cfgRelation']['db']) + . '.' . PMA_backquote($cfgRelation['pdf_pages']) + . ' WHERE db_name = \'' . PMA_sqlAddSlashes($db) . '\'' +); if (PMA_DBI_num_rows($table_info_result) > 0) { echo '<p>' . __('Page') . ':'; |