Make WordPress Core


Ignore:
Timestamp:
02/02/2008 06:42:09 PM (17 years ago)
Author:
ryan
Message:

Some notice fixes from Nazgul. fixes #3155

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r6633 r6711  
    525525
    526526    $join = '';
     527    $posts_in_ex_cats_sql = '';
    527528    if ( $in_same_cat || !empty($excluded_categories) ) {
    528529        $join = " INNER JOIN $wpdb->term_relationships AS tr ON p.ID = tr.object_id INNER JOIN $wpdb->term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id";
     
    616617        preg_match( $qs_regex, $request, $qs_match );
    617618
    618         if ( $qs_match[0] ) {
     619        if ( !empty( $qs_match[0] ) ) {
    619620            $query_string = $qs_match[0];
    620621            $request = preg_replace( $qs_regex, '', $request );
Note: See TracChangeset for help on using the changeset viewer.