Closed (won't fix)
Project:
Salesforce Suite
Version:
7.x-2.x-dev
Component:
sf_entity
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Nov 2011 at 23:11 UTC
Updated:
10 Dec 2012 at 16:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
kostajh commentedCan you post a patch for your code or highlight where and in what files the change should be made? Thanks!
Comment #2
kostajh commentedSee also #1515820: Undefined offset on new content creation
Comment #3
nicodv commentedI'm getting the error
Notice: Undefined offset: 0 in sf_entity_export_field_default()
Should i wrap the code with if (count($data) > 0) {
}
everywhere?
any patch for this?
thanks
nico
Comment #4
rrbambrey commentedHi,
Attached a patch to cover the issue in sf_entity.module not sure where else this might appear as yet.
Also not sure as to whether returning FALSE is correct.
Patched against latest 7.x-2.x
Comment #5
kostajh commented