Merge pull request #821 from marcelklehr/fix-contributor-api-methods

Fix contributor api methods
This commit is contained in:
John McLear 2012-06-27 12:12:41 -07:00
commit 711dee8f6b
2 changed files with 4 additions and 7 deletions

View file

@ -84,7 +84,7 @@ Pad.prototype.appendRevision = function appendRevision(aChangeset, author) {
this.saveToDatabase();
// set the author to pad
if(author != '')
if(author)
authorManager.addPad(author, this.id);
};