Fixed undefined var. Closes #315.
This commit is contained in:
parent
2a24df0936
commit
c6003388aa
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue