Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Minor Change, adding single quotes #16

Open
wants to merge 1 commit into from

1 participant

@zanematthew

Correct the following notice

Notice: Use of undefined constant ASC - assumed 'ASC' in Sidebar.php +24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 9, 2012
  1. @zanematthew
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  sidebar.php
View
2  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 ) :
Something went wrong with that request. Please try again.