Fix assignment. Props Rasmus Lerdorf via ConFoo presentation.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-03-12 19:32:48 +00:00
parent 97e3559079
commit df2588c68d
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class Blogger_Import {
if ( $tag['tag'] == 'TITLE' ) { if ( $tag['tag'] == 'TITLE' ) {
$blog['title'] = $tag['value']; $blog['title'] = $tag['value'];
} elseif ( $tag['tag'] == 'SUMMARY' ) { } elseif ( $tag['tag'] == 'SUMMARY' ) {
$blog['summary'] == $tag['value']; $blog['summary'] = $tag['value'];
} elseif ( $tag['tag'] == 'LINK' ) { } elseif ( $tag['tag'] == 'LINK' ) {
if ( $tag['attributes']['REL'] == 'alternate' && $tag['attributes']['TYPE'] == 'text/html' ) { if ( $tag['attributes']['REL'] == 'alternate' && $tag['attributes']['TYPE'] == 'text/html' ) {
$parts = parse_url( $tag['attributes']['HREF'] ); $parts = parse_url( $tag['attributes']['HREF'] );