Fixed magic_quotes bug
Merge branch 'development' into dev/j3/common