add clear
This commit is contained in:
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user