From 49b8e5b2a21290430412d3810db3bbd483a24718 Mon Sep 17 00:00:00 2001
From: Henrique Recidive <recidive@gmail.com>
Date: Sat, 31 Mar 2012 19:04:52 -0300
Subject: [PATCH] Issue #1357058: Follow up. Fixing tab in indentation.
 Removing a error_log() debugging call.

---
 plugins/entity/ERSEntityNode.class.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/plugins/entity/ERSEntityNode.class.php b/plugins/entity/ERSEntityNode.class.php
index e35f733..18fcda2 100644
--- a/plugins/entity/ERSEntityNode.class.php
+++ b/plugins/entity/ERSEntityNode.class.php
@@ -52,7 +52,6 @@ class ERSEntityNode extends ERSEntityDefault {
 
     // If node is unpublished, publish it.
     $published_revision->status = !empty($entity->published_revision_id);
-    error_log($published_revision->status);
 
     node_save($published_revision);
     if ($uid != $GLOBALS['user']->uid) {
@@ -109,7 +108,7 @@ class ERSEntityNode extends ERSEntityDefault {
         $publish_default = variable_get('ers_publish_draft_' . $node->type, TRUE);
       }
       else {
-      	$publish_default = variable_get('ers_publish_new_' . $node->type, TRUE);
+        $publish_default = variable_get('ers_publish_new_' . $node->type, TRUE);
       }
 
       $form['ers'] = array(
-- 
1.7.9.1

