mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-11-28 14:01:06 +01:00
Fix doesPadExist check
This commit is contained in:
parent
da2b456b5b
commit
973aad5c96
@ -115,7 +115,7 @@ exports.doesPadExists = function(padId, callback)
|
||||
db.get("pad:"+padId, function(err, value)
|
||||
{
|
||||
if(ERR(err, callback)) return;
|
||||
callback(null, value != null);
|
||||
callback(null, value != null && value.atext);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user