Commit 0d958219 authored by jcnventura's avatar jcnventura

Issue #1475092: remove undefined ->print_display notices.

parent fd72b861
......@@ -837,7 +837,7 @@ function print_link_allowed($args) {
}
else {
// Node link
if (!$node->print_display) {
if (isset($node->print_display) && !$node->print_display) {
// Link for this node is disabled
return FALSE;
}
......
......@@ -524,7 +524,7 @@ function print_mail_link_allowed($args) {
}
else {
// Node link
if (!$node->print_mail_display) {
if (isset($node->print_mail_display) && !$node->print_mail_display) {
// Link for this node is disabled
return FALSE;
}
......
......@@ -589,7 +589,7 @@ function print_pdf_link_allowed($args) {
}
else {
// Node link
if (!$node->print_pdf_display) {
if (isset($node->print_pdf_display) && !$node->print_pdf_display) {
// Link for this node is disabled
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment