Closed (fixed)
Project:
Notifications
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jul 2011 at 23:03 UTC
Updated:
16 Aug 2011 at 20:21 UTC
When a content type has subscriptions turned off, the check in notifications_content_type_enabled() incorrectly returns true. This is caused by the fact that the in_array call isn't using strict checking (despite the fact that in the function's comments it says "PHP Note: We need to use strict checking for in_array(), http://es.php.net/manual/en/function.in-array.php#91911")
Pretty simple patch but it fixes another important part of notifications.
| Comment | File | Size | Author |
|---|---|---|---|
| notifications-content-type-enabled-fix.patch | 641 bytes | acbramley |
Comments
Comment #1
webflo commentedComment #2
webflo commentedCommit f30f473 on 7.x-1.x.