From c6003388aacac55b0324d851d2f98c4e9826e965 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 5 Dec 2011 14:11:29 +0000 Subject: [PATCH] Fixed undefined var. Closes #315. --- woocommerce_template_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce_template_functions.php b/woocommerce_template_functions.php index 2e1b5e6efa4..66a207c41be 100644 --- a/woocommerce_template_functions.php +++ b/woocommerce_template_functions.php @@ -520,7 +520,7 @@ if (!function_exists('woocommerce_pagination')) { **/ if (!function_exists('woocommerce_catalog_ordering')) { function woocommerce_catalog_ordering() { - + if (!isset($_SESSION['orderby'])) $_SESSION['orderby'] = apply_filters('woocommerce_default_catalog_orderby', 'title'); ?>