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 /tbl_relation.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 'tbl_relation.php')
-rw-r--r-- | tbl_relation.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tbl_relation.php b/tbl_relation.php index 80f7e17004..d58a7b2001 100644 --- a/tbl_relation.php +++ b/tbl_relation.php @@ -521,18 +521,22 @@ if (count($columns) > 0) { // For ON DELETE and ON UPDATE, the default action // is RESTRICT as per MySQL doc; however, a SHOW CREATE TABLE // won't display the clause if it's set as RESTRICT. - PMA_generate_dropdown('ON DELETE', + PMA_generate_dropdown( + 'ON DELETE', 'on_delete[' . $myfield_md5 . ']', $options_array, - isset($existrel_foreign[$myfield]['on_delete']) ? $existrel_foreign[$myfield]['on_delete']: 'RESTRICT'); + isset($existrel_foreign[$myfield]['on_delete']) ? $existrel_foreign[$myfield]['on_delete']: 'RESTRICT' + ); echo '</span>' . "\n" .'<span class="formelement">' . "\n"; - PMA_generate_dropdown('ON UPDATE', + PMA_generate_dropdown( + 'ON UPDATE', 'on_update[' . $myfield_md5 . ']', $options_array, - isset($existrel_foreign[$myfield]['on_update']) ? $existrel_foreign[$myfield]['on_update']: 'RESTRICT'); + isset($existrel_foreign[$myfield]['on_update']) ? $existrel_foreign[$myfield]['on_update']: 'RESTRICT' + ); echo '</span>' . "\n"; } else { echo __('No index defined!'); |