summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpc-wurm2016-12-03 16:36:53 (GMT)
committerJoao Ventura2016-12-03 16:36:53 (GMT)
commitc85b07364e8baf8dee12be627c71002d2fcee9f7 (patch)
treef28ff73356b631c410ef67694ed5d0a5b664326a
parente350d933fd675af8d23c54b6e87461a5c9dfd1d4 (diff)
Issue #2124477 by Елин Й.: Notice : Undefined property: stdClass::$content dans _print_generate_path() (ligne 678 ... in print.pages.inc7.x-1.x
-rw-r--r--print.pages.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/print.pages.inc b/print.pages.inc
index 72a06c9..c53ebaf 100644
--- a/print.pages.inc
+++ b/print.pages.inc
@@ -675,7 +675,7 @@ function _print_generate_path($path, $query = NULL, $format = PRINT_HTML_FORMAT,
$node->body = preg_replace('!\s*<div class="links">.*?</div>!sim', '', $node->body);
// Delete the contextual links also
- $node->content = preg_replace('!\s*<div class="contextual-links-wrapper">.*?</div>!sim', '', $node->content);
+ $node->body = preg_replace('!\s*<div class="contextual-links-wrapper">.*?</div>!sim', '', $node->body);
// Check URL list settings
$_print_urls = _print_url_list_enabled($node, $format);