fix some DataProvider bug.

This commit is contained in:
whale
2020-05-06 17:19:59 +08:00
parent 181f6430a4
commit 9b3a2e5296
8 changed files with 28 additions and 19 deletions

View File

@@ -67,7 +67,7 @@ abstract class ModBase
}
public function finalReply($msg, $yield = false) {
$this->block_continue = true;
$this->setBlock();
if ($msg == "") return true;
return $this->reply($msg, $yield);
}
@@ -161,5 +161,5 @@ abstract class ModBase
public function getConnection() { return $this->connection; }
public function setBlock($result = true) { $this->block_continue = $result; }
}
public function setBlock($result = true) { context()->setCache("block_continue", $result); }
}