Skip to content

Commit

Permalink
Fixed profile_editor/edit in widgets/profile/diazo.xml
Browse files Browse the repository at this point in the history
Signed-off-by: Macartur Sousa <[email protected]>
  • Loading branch information
macartur committed May 17, 2016
1 parent 11a5dbe commit 8c10bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/colab_noosfero/widgets/profile/diazo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version='2.0'>

<xsl:variable name="partial_replace" select="str:replace(//a/@href[(contains(., '/social/myprofile/'))], '/social/myprofile/', '')" />
<xsl:variable name="username" select="str:replace($partial_replace, '/profile_editor/edit/', '')" />
<xsl:variable name="username" select="str:replace($partial_replace, '/profile_editor/edit', '')" />

<xsl:template match="form/@enctype[contains(., 'multipart')]"/>
<xsl:template match="form/@action[contains(., '/social/')]">
Expand Down

0 comments on commit 8c10bd1

Please sign in to comment.