- Data:
- 2009-11-16 14:05:44 (16 years ago)
- Pliki:
-
- 1 zmodyfikowane
-
trunk/eCard/eCardMVC/Platnosci/Helpers/helper.cs (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/eCard/eCardMVC/Platnosci/Helpers/helper.cs
r867 r874 29 29 30 30 RouteValueDictionary tab = new RouteValueDictionary(); 31 string id = htmlHelper.ViewContext.RouteData.Values["id"].ToString(); 31 32 string id = ""; 33 if (htmlHelper.ViewContext.RouteData.Values["id"] != null) id = htmlHelper.ViewContext.RouteData.Values["id"].ToString(); 32 34 tab.Add("language", alt); 33 tab.Add("id", id);35 if (id != null) tab.Add("id", id); 34 36 35 37 string url = urlHelper.Action(action, controller, tab); … … 38 40 for (int i = 0; i < param.Length; i++ ) 39 41 { 40 if (i == 0 ) url += "?" + param[i];42 if (i == 0 ) url += "?" + param[i]; 41 43 else url += "&" + param[i]; 42 44 }
