In the save() function, $this->metadata is iterated over, but it isn't always an array. That's because the constructor doesn't always set it. Attached is a patch to fix the problem.

CommentFileSizeAuthor
#2 552938.patch963 bytesturadg
#1 cc.class_.php-fix-metadata-array.patch965 bytesturadg

Comments

turadg’s picture

StatusFileSize
new965 bytes

ignore this patch. I accidentally included comment that I used for testing it.

turadg’s picture

StatusFileSize
new963 bytes

Correct patch is attached to this comment. The system won't let me delete the above comment, so I just changed the text.

turadg’s picture

Assigned: Unassigned » turadg
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.