Commit 8809cdee authored by KR Moorhouse's avatar KR Moorhouse

Added check to action publishing to remove the 'method' setting, if one...

Added check to action publishing to remove the 'method' setting, if one exists. This corrects a db error being caused by an unescaped quote.
parent 9b4e9437
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
......@@ -184,6 +184,9 @@ define( [], function() {
// Loop through all the attributes of our actions
for (var prop in action) {
if ( action.hasOwnProperty( prop ) ) {
if ( 'message' == prop ) {
delete action[ prop ];
}
//Removing null values
if( null !== action[ prop ] ) {
// Set our settings.prop value.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
File mode changed from 100755 to 100644
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment