Skip to content
Snippets Groups Projects
Commit e1260297 authored by onkeltem's avatar onkeltem Committed by Chris Leppanen
Browse files

Issue #1817992 by OnkelTem: Fixed Notice: Undefined property: stdClass:: in feeds_tokens()

parent 653017ef
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ function feeds_token_info() { ...@@ -25,7 +25,7 @@ function feeds_token_info() {
function feeds_tokens($type, $tokens, array $data, array $options) { function feeds_tokens($type, $tokens, array $data, array $options) {
$replacements = array(); $replacements = array();
if ($type == 'node' && !empty($data['node'])) { if ($type == 'node' && !empty($data['node']) && !empty($data['node']->nid)) {
$sanitize = !empty($options['sanitize']); $sanitize = !empty($options['sanitize']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment