Make WordPress Core

Changeset 5053


Ignore:
Timestamp:
03/16/2007 10:05:15 PM (19 years ago)
Author:
ryan
Message:

Don't cast to string if empty. Props donncha. fixes #3979 for 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/classes.php

    r4839 r5053  
    16181618            else
    16191619                $this->query_vars[$wpvar] = '';
     1620
     1621            if ( !empty( $this->query_vars[$wpvar] ) )
     1622                $this->query_vars[$wpvar] = (string) $this->query_vars[$wpvar];
    16201623        }
    16211624
Note: See TracChangeset for help on using the changeset viewer.