1
0
mirror of synced 2024-11-22 05:16:07 +03:00

getLastError fix

This commit is contained in:
kruglov 2013-07-03 11:50:44 +04:00
parent 9a04be2d9a
commit 25595c514f

View File

@ -50,7 +50,10 @@ class IntaroCrmRestApi
public function getLastError() public function getLastError()
{ {
if (!is_null($this->lastError))
return $this->statusCode . ' ' . $this->lastError; return $this->statusCode . ' ' . $this->lastError;
else
return null;
} }
public function getLastErrorMessage() public function getLastErrorMessage()