Notice fixes from nbachiyski. fixes #5961

git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-22 17:43:56 +00:00
parent da19acbc4b
commit 7ed364b2ce
14 changed files with 70 additions and 37 deletions
+1 -1
View File
@@ -1154,7 +1154,7 @@ class WP_Query {
// MIME-Type stuff for attachment browsing
if ( '' != $q['post_mime_type'] )
if ( isset($q['post_mime_type']) && '' != $q['post_mime_type'] )
$whichmimetype = wp_post_mime_type_where($q['post_mime_type']);
$where .= $search.$whichcat.$whichauthor.$whichmimetype;