Drupal: Fixed bug where wrong 'parent' variable was used.

This commit is contained in:
Shawn Kwang 2018-03-06 11:36:36 -06:00
parent e0190c8876
commit f6d7688437
1 changed files with 1 additions and 1 deletions

View File

@ -1541,7 +1541,7 @@ function boinc_standard_rules_defaults() {
),
'#name' => 'rules_condition_custom_php',
'#settings' => array(
'code' => 'return ($node->forum_tid != $node_unchanged->forum_tid);',
'code' => 'return ($node->tid != $node_unchanged->tid);',
'vars' => array(
'0' => 'node',
'1' => 'node_unchanged',