Error in rules.inc if core triggers is enabled

marcingy - June 25, 2009 - 20:02
Project:Content Access
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

If the core triggers module is enable an error is thrown in rules.inc as the function rules_log isn't available. This patch added a check to see if rules is enabled.

AttachmentSize
content_access_rules.patch1.16 KB

#1

marcingy - June 25, 2009 - 20:02
Title:Error in rules.inc is core triggers is enabled» Error in rules.inc if core triggers is enabled

#2

marcingy - June 26, 2009 - 16:29

Reroll without screen message if rules isn't enabled.

AttachmentSize
contact_access_rules.patch 1.06 KB

#3

fago - July 31, 2009 - 09:01
Status:needs review» won't fix

!? The .rules.inc file is only for rules, no one else includes and the actions are rules action? So I don't see how there should be any problem with core triggers. Please correct me (and reopen) if I haven't got the point.

 
 

Drupal is a registered trademark of Dries Buytaert.