Fixed the default selected reports tab

This commit is contained in:
Geert De Deckere 2012-02-09 10:01:38 +01:00
parent 21439c7e52
commit 3b66db369d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
function woocommerce_reports() { function woocommerce_reports() {
$current_tab = (isset($_GET['tab'])) ? $_GET['tab'] : 'sales'; $current_tab = (isset($_GET['tab'])) ? $_GET['tab'] : __('sales', 'woocommerce');
$current_chart = (isset($_GET['chart'])) ? $_GET['chart'] : 0; $current_chart = (isset($_GET['chart'])) ? $_GET['chart'] : 0;
$charts = apply_filters('woocommerce_reports_charts', array( $charts = apply_filters('woocommerce_reports_charts', array(