From d6c96abf4f88c3e4079bd39eb5616166f768fecf Mon Sep 17 00:00:00 2001 From: "Zane M. Kolnik" Date: Thu, 9 Feb 2012 14:42:45 -0500 Subject: [PATCH] Adding single quotes around paramters value. --- sidebar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sidebar.php b/sidebar.php index bb082b4..4f18bb5 100644 --- a/sidebar.php +++ b/sidebar.php @@ -21,7 +21,7 @@ // function process_cat_tree( $cat ) { - $args = array('category__in' => array( $cat ), 'numberposts' => -1, 'orderby' => title, 'order' => ASC); + $args = array('category__in' => array( $cat ), 'numberposts' => -1, 'orderby' => 'title', 'order' => 'ASC'); $cat_posts = get_posts( $args ); if( $cat_posts ) :