Changeset 2876

Show
Ignore:
Timestamp:
11/25/08 00:58:08 (6 weeks ago)
Author:
caius
Message:

Renaming a variable to make it more verbose

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/post.php

    r2862 r2876  
    475475 
    476476        /* Now, let's insert any *new* tag texts or slugs into the tags table */ 
    477         $repeat_questions = Utils::placeholder_string( count($clean_tags) ); 
     477        $placeholders = Utils::placeholder_string( count($clean_tags) ); 
    478478        $sql_tags_exist = "SELECT id, tag_text, tag_slug 
    479479            FROM {tags} 
    480             WHERE tag_text IN ({$repeat_questions}) 
    481             OR tag_slug IN ({$repeat_questions})"; 
     480            WHERE tag_text IN ({$placeholders}) 
     481            OR tag_slug IN ({$placeholders})"; 
    482482        $params = array_merge( array_keys( $clean_tags ), array_values( $clean_tags ) ); 
    483483        $existing_tags = DB::get_results( $sql_tags_exist, $params );