Use elseif in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
390ec67a52
commit
be24b1998b
|
@ -598,8 +598,7 @@ class WP_Object_Query {
|
|||
|
||||
if ( 'STRING' == $meta_type )
|
||||
$meta_type = 'CHAR';
|
||||
|
||||
if ( 'NUMERIC' == $meta_type )
|
||||
elseif ( 'NUMERIC' == $meta_type )
|
||||
$meta_type = 'SIGNED';
|
||||
|
||||
if ( !in_array( $meta_type, array( 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED' ) ) )
|
||||
|
|
Loading…
Reference in New Issue