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