summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-11 16:49:38 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-11 16:49:38 +0000
commitbd108c7f1036858fc2b4293ee2bad0474129fab9 (patch)
treefd5a88544ca93829c2f38b9e1f4da4e7fef051e9 /modules/blogapi/blogapi.module
parentea02bd1d2e1b8f134ac810116223a42883b41c73 (diff)
downloadbrdo-bd108c7f1036858fc2b4293ee2bad0474129fab9.tar.gz
brdo-bd108c7f1036858fc2b4293ee2bad0474129fab9.tar.bz2
- Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up.
Diffstat (limited to 'modules/blogapi/blogapi.module')
-rw-r--r--modules/blogapi/blogapi.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index 554245f56..db7f01ddc 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -328,7 +328,7 @@ function blogapi_blogger_get_post($appkey, $postid, $username, $password) {
* TRUE if no error, or the blogapi_error().
*/
function blogapi_status_error_check($node, $original_status) {
-
+
$node = (object) $node;
$node_type_default = variable_get('node_options_'. $node->type, array('status', 'promote'));