We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27f26f0 commit d3e39dbCopy full SHA for d3e39db
application/libraries/REST_Controller.php
@@ -2212,6 +2212,10 @@ protected function _force_login($nonce = '')
2212
*/
2213
protected function _log_access_time()
2214
{
2215
+ if($this->_insert_id == ''){
2216
+ return false;
2217
+ }
2218
+
2219
$payload['rtime'] = $this->_end_rtime - $this->_start_rtime;
2220
2221
return $this->rest->db->update(
@@ -2230,6 +2234,10 @@ protected function _log_access_time()
2230
2234
2231
2235
protected function _log_response_code($http_code)
2232
2236
2237
2238
2239
2240
2233
2241
$payload['response_code'] = $http_code;
2242
2243
0 commit comments