Closed (duplicate)
Project:
Pathauto
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2005 at 21:01 UTC
Updated:
6 Nov 2005 at 23:04 UTC
It might be just me. But I was getting errors in pathauto while testing out acidfree
basically bombing out in the foreach in pathauto_node.inc due to taxonomy not being an array on the node being added. And at least out of the box. Acidfree doesn't associate nodes with any taxonomy terms.
Anywho this patch adds an is_array check where I believe would be the proper place
152c152
< if (module_exist('taxonomy')) {
---
> if (module_exist('taxonomy') and is_array($node->taxonomy)) {
154a155
>
Comments
Comment #1
mikeryanDept. of Redundancy Dept.