Skip to content

Commit 6db4fed

Browse files
author
Ismail Mayat
committed
some reason there is double quote escape which is not needed as peta poco handles any encoding
1 parent 209ccb9 commit 6db4fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ private IEnumerable<Tuple<int, string, int>> SaveTabs()
10901090
foreach (DataGridItem dgi in dgTabs.Items)
10911091
{
10921092
int tabid = int.Parse(dgi.Cells[0].Text);
1093-
string tabName = ((TextBox)dgi.FindControl("txtTab")).Text.Replace("'", "''");
1093+
string tabName = ((TextBox) dgi.FindControl("txtTab")).Text;
10941094
int tabSortOrder;
10951095
if (Int32.TryParse(((TextBox)dgi.FindControl("txtSortOrder")).Text, out tabSortOrder))
10961096
{

0 commit comments

Comments
 (0)