Bug #13210

PHP warning when updating archival description index, if no PREMIS data associated with record

Added by David Juhasz almost 2 years ago.

Status:NewStart date:10/31/2019
Priority:LowDue date:
Assignee:David Juhasz% Done:


Category:Search / Browse
Target version:-
Google Code Legacy ID: Tested version:2.6
Sponsored:No Requires documentation:


When testing csv:physicalobject-import I am regularly seeing this PHP warning:

PHP Warning:  Invalid argument supplied for foreach() in 
on line 544

The foreach() in question is assuming the preceding search for PREMIS data will return an array, but it returns null if no data is found.

Also available in: Atom PDF