Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Model/Runner.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php
index 3106573..37ae39c 100644
--- a/lib/Model/Runner.php
+++ b/lib/Model/Runner.php
@@ -136,7 +136,9 @@ class Runner implements IRunner {
*/
public function updateAction(string $action = '', bool $force = false): string {
- $this->base->abort();
+ if ($this->base !== null) {
+ $this->base->abort();
+ }
$n = '';
if (sizeof($this->methodOnKeyPress) > 0) {