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

mikeryan’s picture

Status: Needs review » Closed (duplicate)