Closed (fixed)
Project:
Creative Commons
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2009 at 22:53 UTC
Updated:
2 Sep 2009 at 20:40 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 552938.patch | 963 bytes | turadg |
| #1 | cc.class_.php-fix-metadata-array.patch | 965 bytes | turadg |
Comments
Comment #1
turadg commentedignore this patch. I accidentally included comment that I used for testing it.
Comment #2
turadg commentedCorrect patch is attached to this comment. The system won't let me delete the above comment, so I just changed the text.
Comment #3
turadg commented