Fix typo in itemTypeManager createDumpSQL()

This commit is contained in:
Dan Stillman 2006-10-01 09:47:44 +00:00
parent 2682ac0ee3
commit d4e2b42d46

View file

@ -370,9 +370,9 @@ var Scholar_ItemTypeManager = new function(){
for (var i in types){
sql += prefix + "INSERT INTO itemTypes VALUES ("
+ types[i]['itemTypeID'] + ", '" + types[i]['typeName'] + "', "
+ types[i]['itemTypeID'] + ",'" + types[i]['typeName'] + "',"
+ (types[i]['templateItemTypeID']
? types[i]['templateItemTypeID'] : 'NULL') + ", ",
? types[i]['templateItemTypeID'] : 'NULL') + ","
+ types[i]['display']
+ ");\n"
}