Closed (fixed)
Project:
ThemeKey
Version:
6.x-1.x-dev
Component:
Code / API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 20:59 UTC
Updated:
12 Apr 2009 at 12:00 UTC
In doing some large scale content migration, I came across an issue in which the call to _themekey_match_properties from themekey.node.inc would break drupal_clone when called for an invalid node id. This is because the underlying node_load returns an empty object. Wrapping the call to _themekey_match_properties in a check for a valid object fixes this. I checked and didn't see any duplicates for this but apologies if there are.
| Comment | File | Size | Author |
|---|---|---|---|
| themekey.node_.inc_.patch | 559 bytes | cfuller12 |
Comments
Comment #1
profix898 commentedCommitted to CVS. Thanks.