Fixed undefined var. Closes #315.

This commit is contained in:
Mike Jolley 2011-12-05 14:11:29 +00:00
parent 2a24df0936
commit c6003388aa
1 changed files with 1 additions and 1 deletions

View File

@ -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');
?>
<form class="woocommerce_ordering" method="post">
<select name="catalog_orderby" class="orderby">