﻿--- publication_date.module	2010-07-14 11:01:56.000000000 -0300
+++ publication_date_new.module	2010-07-14 11:13:30.000000000 -0300
@@ -23,7 +23,7 @@ function publication_date_nodeapi(&$node
       // of this module.
       if (!$node->published_at) {
         $row = db_fetch_array(db_query("SELECT created, status FROM {node} WHERE nid = %d", $node->nid));
-        if ($row && $row['status'] == 1) {
+        if ($row) {
           $node->published_at = $row['created'];
         }
       }
