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:
authorMaxence Lange <maxence@artificial-owl.com>2018-10-31 12:25:33 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-10-31 12:25:33 +0300
commitd75d0c868fe2c13a7885733031d0a7b65716c440 (patch)
tree17b526a510224db88f8dbedd3d3a3b1f4bc74fef /lib
parent063b5bb56127e2b896dc30d81e542f58889650e2 (diff)
assure Base is not null
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
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) {