Reviewed: https://reviews.mahara.org/1883 Committed: http://gitorious.org/mahara/mahara/commit/12278823ae62a11928f79eaee7cde16016592818 Submitter: Melissa Draper (<email address hidden>) Branch: 1.5_STABLE
commit 12278823ae62a11928f79eaee7cde16016592818 Author: Melissa Draper <email address hidden> Date: Mon Oct 29 16:56:04 2012 +1300
Fix the rss image exceptions preventing updating (Bug #1081431)
Check the image data is a string (eg url) or array before proceeding, and set data to null if not.
Serialising is the only way to check if a value can be unserialised so @ is suppressing the warnings thrown by non-unserialisable data.
Prevent the issue happening in future installs, and fix current installs.
Change-Id: I05c88f95e2f511e491bcbd5fa40d3c41949eff7f Signed-off-by: Melissa Draper <email address hidden>
Reviewed: https:/ /reviews. mahara. org/1883 gitorious. org/mahara/ mahara/ commit/ 12278823ae62a11 928f79eaee7cde1 6016592818
Committed: http://
Submitter: Melissa Draper (<email address hidden>)
Branch: 1.5_STABLE
commit 12278823ae62a11 928f79eaee7cde1 6016592818
Author: Melissa Draper <email address hidden>
Date: Mon Oct 29 16:56:04 2012 +1300
Fix the rss image exceptions preventing updating (Bug #1081431)
Check the image data is a string (eg url) or array before
proceeding, and set data to null if not.
Serialising is the only way to check if a value can be unserialised
so @ is suppressing the warnings thrown by non-unserialisable data.
Prevent the issue happening in future installs, and fix current
installs.
Change-Id: I05c88f95e2f511 e491bcbd5fa40d3 c41949eff7f
Signed-off-by: Melissa Draper <email address hidden>