Commit f401bbf0 authored by Dries's avatar Dries
Browse files

- Patch #19406 by David: fixed problem with posting using BloggerAPI.

parent 293daa48
......@@ -507,7 +507,7 @@ function blogapi_blogger_title(&$contents) {
$contents = ereg_replace('<title>[^<]*</title>', '', $contents);
}
else {
list($title, $rest) = explode("\n", $contents, 2);
list($title, $contents) = explode("\n", $contents, 2);
}
return $title;
}
......
......@@ -507,7 +507,7 @@ function blogapi_blogger_title(&$contents) {
$contents = ereg_replace('<title>[^<]*</title>', '', $contents);
}
else {
list($title, $rest) = explode("\n", $contents, 2);
list($title, $contents) = explode("\n", $contents, 2);
}
return $title;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment