mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
fix export of bad pads and also limit import to files
This commit is contained in:
parent
abb9b6d833
commit
d5bec1701e
2 changed files with 17 additions and 2 deletions
|
@ -48,7 +48,7 @@ exports.getPadRaw = function(padId, callback){
|
|||
|
||||
// Get the author info
|
||||
db.get("globalAuthor:"+authorId, function(e, authorEntry){
|
||||
authorEntry.padIDs = padId;
|
||||
if(authorEntry && authorEntry.padIDs) authorEntry.padIDs = padId;
|
||||
if(!e) data["globalAuthor:"+authorId] = authorEntry;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue