Added more security checks to the content controller

This commit is contained in:
Shannon
2013-08-09 18:04:44 +10:00
parent b8df64742c
commit 437f2dc588
6 changed files with 114 additions and 74 deletions

View File

@@ -294,7 +294,7 @@ function umbDataFormatter() {
_.each(tab.properties, function (prop) {
//don't include the custom generic tab properties
if (tab.id !== 0 && !prop.alias.startsWith("_umb_")) {
if (!prop.alias.startsWith("_umb_")) {
saveModel.properties.push({
id: prop.id,
alias: prop.alias,