Fixed notice in record metadata.

Hi,

Small patch because sometime a php notice appears in record metadata.

Sincerely,

Daniel Berthereau
Infodoc & Knowledge management