In line 340 of stormticket.module there is
$project_access = $node->project_nid ? stormproject('view', $node->project_nid) : TRUE;
which should be
$project_access = $node->project_nid ? stormproject_access('view', $node->project_nid) : TRUE;
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | stormticket.module.patch | 1.11 KB | Magnity |
Comments
Comment #1
Magnity commentedThis bug has unfortunately been introduced into the stable release 6.x-1.28.
It has now been fixed in the development release.
Those people updating to 6.x-1.28 should make the change above, or apply the patch attached here (same change, different format).
Comment #2
Magnity commentedThis also affects:
- stormtimetracking.module
- stormnote.module
- stormexpense.module
(same fix)
Same advice as in the release notes of 6.x-1.28:
This is a bug that is introduced in 6.x-1.28, so if you're happy to edit those files then upgrade and patch. If not, then wait for the next official release.
Comment #4
dbt102 commentedIn line 303 of stormtimetracking.module there is
$project_access = $node->project_nid ? stormproject('view', $node->project_nid) : TRUE;
which should be
$project_access = $node->project_nid ? stormproject_access('view', $node->project_nid) : TRUE;
and then in line 304 of stromtimetracking module there is
$task_access = $node->task_nid ? stormtask('view', $node->task_nid) : TRUE;
which should be
$task_access = $node->task_nid ? stormtask_access('view', $node->task_nid) : TRUE;
Comment #5
Magnity commentedThat's fixed now. Thought it had been already, but obviously I didn't get all of the occurences of it in the file.