Don't add a anonymous author to the attribute pool, this prevents some wired bugs

This commit is contained in:
Peter 'Pita' Martischka 2011-03-28 23:08:25 +01:00
parent 92257cd0af
commit 255a1b94f2
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ function appendRevision(id, theChangeset, author)
globalPads[id].rev[newRev].meta.timestamp = new Date().getTime();
//ex. getNumForAuthor
apool.putAttrib(['author',author||'']);
if(author != '')
apool.putAttrib(['author',author||'']);
if(newRev%100==0)
{