Changeset 6201

Show
Ignore:
Timestamp:
10/07/07 07:35:20 (1 year ago)
Author:
westi
Message:

Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/post-template.php

    r6132 r6201  
    446446        } else { 
    447447            $post->iconsize = array($imagesize[0], $imagesize[1]); 
     448            $constraint = ''; 
    448449        } 
    449450    }