trim whitespace when adding aliases

This commit is contained in:
Shish 2013-07-06 10:41:19 +01:00
parent 589bda1b00
commit 48e40a6712

View File

@ -15,8 +15,8 @@ class AddAliasEvent extends Event {
var $newtag;
public function AddAliasEvent($oldtag, $newtag) {
$this->oldtag = $oldtag;
$this->newtag = $newtag;
$this->oldtag = trim($oldtag);
$this->newtag = trim($newtag);
}
}