Skip to content

Commit

Permalink
SAK-30419
Browse files Browse the repository at this point in the history
  • Loading branch information
José Rabal Sastre authored and juanjmerono committed Mar 7, 2016
1 parent 6e336d3 commit 2ad6969
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions velocity/tool/src/java/org/sakaiproject/vm/ActionURL.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.sakaiproject.thread_local.cover.ThreadLocalManager;
import org.sakaiproject.tool.api.ToolURL;
import org.sakaiproject.tool.api.ToolURLManager;
import org.sakaiproject.util.FormattedText;

/**
* <p>
Expand Down Expand Up @@ -198,7 +199,7 @@ public ActionURL setPanel(String panel)
public String toString()
{
String toolURL = getToolURL();
if (toolURL != null) return toolURL;
if (toolURL != null) return FormattedText.sanitizeHrefURL(toolURL);

String rv = m_base;
char c = '?';
Expand Down Expand Up @@ -248,7 +249,7 @@ public String toString()
}

reset();
return rv;
return FormattedText.sanitizeHrefURL(rv);
}

private String getToolURL()
Expand Down

0 comments on commit 2ad6969

Please sign in to comment.