Index: /branches/release-39/php/lib/block.mtcomments.php
===================================================================
--- /branches/release-39/php/lib/block.mtcomments.php (revision 2481)
+++ /branches/release-39/php/lib/block.mtcomments.php (revision 2501)
@@ -39,10 +39,10 @@
             if (empty($commenter)) {
                 $ctx->__stash['commenter'] = null;
+            } else {
+                $permission = $ctx->mt->db->fetch_permission(array('blog_id' => $comment['comment_blog_id'], 'id' => $comment['comment_commenter_id']));
+                if (!empty($permission))
+                    $commenter = array_merge($commenter, $permission[0]);
+                $ctx->stash('commenter', $commenter);
             }
-            $permission = $ctx->mt->db->fetch_permission(array('blog_id' => $comment['comment_blog_id'], 'id' => $comment['comment_commenter_id']));
-            if (!empty($permission)) {
-                $commenter = array_merge($commenter, $permission[0]);
-            }
-            $ctx->stash('commenter', $commenter);
         } else {
             $ctx->__stash['commenter'] = null;
