@@ -294,7 +294,7 @@ |
||
| 294 | 294 | update_option('wpshop_billing_current_number', $billing_current_number); |
| 295 | 295 | |
| 296 | 296 | /** Create the new invoice number with all parameters viewed above */ |
| 297 | - $invoice_ref = WPSHOP_BILLING_REFERENCE_PREFIX . ((string) sprintf('%0' . $number_figures . 'd', $billing_current_number)); |
|
| 297 | + $invoice_ref = WPSHOP_BILLING_REFERENCE_PREFIX . ((string)sprintf('%0' . $number_figures . 'd', $billing_current_number)); |
|
| 298 | 298 | |
| 299 | 299 | return $invoice_ref; |
| 300 | 300 | } |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | $company_value = $wpdb->get_var($query); |
| 139 | 139 | } |
| 140 | 140 | } |
| 141 | - ob_start();?> |
|
| 141 | + ob_start(); ?> |
|
| 142 | 142 | <option value="<?php echo $user->ID; ?>" <?php echo ((!$multiple) && ($selected_user == $user->ID)) ? ' selected="selected"' : ''; ?>> |
| 143 | 143 | <?php echo $lastname; ?> <?php echo $firstname; ?> (<?php echo $user->user_email; ?>)<?php echo isset($company_value) ? ' : ' . $company_value : ''; ?> |
| 144 | 144 | </option> |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | } |
| 321 | 321 | $user_id = $post->post_author; |
| 322 | 322 | $user_info = array(); |
| 323 | - $attribute = !empty($_POST['attribute']) ? (array) $_POST['attribute'] : array(); |
|
| 323 | + $attribute = !empty($_POST['attribute']) ? (array)$_POST['attribute'] : array(); |
|
| 324 | 324 | if (!empty($attribute)) {
|
| 325 | 325 | foreach ($attribute as $type => $attributes) {
|
| 326 | 326 | foreach ($attributes as $meta => $attribute) {
|