Skip to content

Commit

Permalink
Update WindowsPhoneNotification.cs
Browse files Browse the repository at this point in the history
! Fixed the & and end of navigationline bug. As the "paramValue" wasn't overwritten, the value was never replaced
  • Loading branch information
pazcaldj committed Nov 20, 2013
1 parent 0793ab0 commit 0db20d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PushSharp.WindowsPhone/WindowsPhoneNotification.cs
Expand Up @@ -143,7 +143,7 @@ public override string PayloadToString()
var paramValue = sb.ToString();

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

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

0 comments on commit 0db20d2

Please sign in to comment.