Skip to content

Commit 9ff955d

Browse files
committed
fix autoconfig
1 parent 3c204d7 commit 9ff955d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/OnlyOffice/AutoConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function autoConfigIfNeeded() {
4545
* @return bool
4646
*/
4747
private function shouldAutoConfig(): bool {
48-
return $this->appConfig->GetDocumentServerUrl() === '';
48+
return !$this->appConfig->GetDocumentServerUrl();
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)