diff --git a/common/Result.php b/common/Result.php index 1f8befa..b230c37 100644 --- a/common/Result.php +++ b/common/Result.php @@ -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];