diff options
-rw-r--r-- | etherpad/src/etherpad/pro/pro_utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etherpad/src/etherpad/pro/pro_utils.js b/etherpad/src/etherpad/pro/pro_utils.js index 2322262..1198b95 100644 --- a/etherpad/src/etherpad/pro/pro_utils.js +++ b/etherpad/src/etherpad/pro/pro_utils.js @@ -49,7 +49,7 @@ function getRequestSuperdomain() { var parts = request.domain.split('.'); while (parts.length > 0) { var domain = parts.join('.'); - if (domainEnabled[domain]) { + if (domainEnabled(domain)) { return domain; } parts.shift(); |