Skip to content

Commit

Permalink
Correctly decode user names in unsubscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianheine committed Oct 22, 2010
1 parent 87e7175 commit 06ce34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function subscription_set($user, $page, $style, $data = null,

// io_deleteFromFile does not return false if no line matched.
return io_deleteFromFile($file,
subscription_regex(array('user' => $user)),
subscription_regex(array('user' => auth_nameencode($user))),
true);
}

Expand Down

0 comments on commit 06ce34e

Please sign in to comment.