@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | usort( $ordered_customers, function( $a, $b ) { |
10 | 10 | if ($a['count'] == $b['count']) { |
11 | - return 0; |
|
11 | + return 0; |
|
12 | 12 | } |
13 | 13 | return ($a['count'] > $b['count']) ? -1 : 1; |
14 | 14 | } ); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | usort( $ordered_customers, function( $a, $b ) { |
10 | 10 | if ($a['total_amount'] == $b['total_amount']) { |
11 | - return 0; |
|
11 | + return 0; |
|
12 | 12 | } |
13 | 13 | return ($a['total_amount'] > $b['total_amount']) ? -1 : 1; |
14 | 14 | } ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | } |
20 | 20 | usort( $ordered_products, function( $a, $b ) { |
21 | 21 | if ($a['count'] == $b['count']) { |
22 | - return 0; |
|
22 | + return 0; |
|
23 | 23 | } |
24 | 24 | return ($a['count'] > $b['count']) ? -1 : 1; |
25 | 25 | } ); |
@@ -19,8 +19,8 @@ |
||
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
22 | - * Add Javascript & CSS files |
|
23 | - */ |
|
22 | + * Add Javascript & CSS files |
|
23 | + */ |
|
24 | 24 | function add_scripts( $hook ) { |
25 | 25 | global $current_screen; |
26 | 26 | if( ! in_array( $current_screen->post_type, array( WPSHOP_NEWTYPE_IDENTIFIER_CUSTOMERS ), true ) && $hook != 'wpshop_shop_order_page_wpshop_statistics' ) |