Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

Commit

Permalink
issue #663: Фантомная жалоба на странице правил
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Ivnitsky authored and awd-studio committed Oct 30, 2017
1 parent 2617827 commit 59de69a
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -141,8 +141,7 @@ function dru_claim_node_view($node, $view_mode) {

// View claim verdict.
if (user_is_logged_in()) {
if (isset($node->claim) && $node->claim) {
$ticket = node_load($node->claim);
if (isset($node->claim) && $node->claim && $ticket = node_load($node->claim)) {
$node->content['body'][0]['#markup'] = dru_claim_get_ticket_info($ticket, $node, 'node');
}
}
Expand Down

0 comments on commit 59de69a

Please sign in to comment.