Skip to content

Commit 0db20d2

Browse files
committed
Update WindowsPhoneNotification.cs
! Fixed the & and end of navigationline bug. As the "paramValue" wasn't overwritten, the value was never replaced
1 parent 0793ab0 commit 0db20d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PushSharp.WindowsPhone/WindowsPhoneNotification.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public override string PayloadToString()
143143
var paramValue = sb.ToString();
144144

145145
if (!string.IsNullOrEmpty(paramValue) && paramValue.EndsWith("&"))
146-
paramValue.Substring(0, paramValue.Length - 1);
146+
paramValue = paramValue.Substring(0, paramValue.Length - 1);
147147

148148
if (!string.IsNullOrEmpty(paramValue))
149149
toast.Add(new XElement(wp + "Param", paramValue));

0 commit comments

Comments
 (0)