After latest updates for core Rules module (7.x-2.12) every rule which uses Conditional Rules shows notice:
Notice: Undefined index: #title in drupal_pre_render_link() (line 5770 of /MYPATHTODRUPAL/includes/common.inc).

Conditional labels are empty.

Comments

AlexanderPop created an issue. See original summary.

AlexanderPop’s picture

Title: Compatibility with Ruls 2.12 - Undefined index: #title in drupal_pre_render_link() » Compatibility with Rules 2.12 - Undefined index: #title in drupal_pre_render_link()
AlexanderPop’s picture

StatusFileSize
new30.47 KB

Could find the reason. In Rules 2.12 in file rules\ui\ui.core.inc was removed line
$content['label']['#type'] = 'markup';
if add it after line 1055 it fixes problem.
it looks like this.
$content['label']['#type'] = 'markup';
$content['label']['#markup'] = check_plain($content['label']['#title']);

Could something has to be changed on Conditional Rules side to fix it instead modify core Rules module?

sgdev’s picture