add clear

This commit is contained in:
as2252258@163.com
2020-01-10 19:47:52 +08:00
parent 85069f1f70
commit cf9a45b410
+1 -1
View File
@@ -128,7 +128,7 @@ class Result
public function getData($name = '')
{
if (!$this->isResultsOK()) {
return '';
return $this->data;
}
if (!empty($name) && isset($this->data[$name])) {
return $this->data[$name];