Skip to content

Commit fe9f985

Browse files
committed
Update application/libraries/REST_Controller.php
1 parent c9b632b commit fe9f985

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎application/libraries/REST_Controller.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,10 @@ protected function _detect_method()
412412
{
413413
$method = strtolower($this->input->post('_method'));
414414
}
415-
else if ($this->input->server('HTTP_X_HTTP_METHOD_OVERRIDE'))
416-
{
417-
$method = strtolower($this->input->server('HTTP_X_HTTP_METHOD_OVERRIDE'));
418-
}
415+
else if ($this->input->server('HTTP_X_HTTP_METHOD_OVERRIDE'))
416+
{
417+
$method = strtolower($this->input->server('HTTP_X_HTTP_METHOD_OVERRIDE'));
418+
}
419419
}
420420

421421
if (in_array($method, array('get', 'delete', 'post', 'put')))

0 commit comments

Comments
 (0)