Skip to content

Commit d1501c7

Browse files
Merge pull request chriskacerguis#556 from softwarespot/fix-head-params
Fixes chriskacerguis#555
2 parents a4f8920 + 6f070f8 commit d1501c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/libraries/REST_Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,10 +1514,10 @@ public function head($key = NULL, $xss_clean = NULL)
15141514
{
15151515
if ($key === NULL)
15161516
{
1517-
return $this->head_args;
1517+
return $this->_head_args;
15181518
}
15191519

1520-
return isset($this->head_args[$key]) ? $this->_xss_clean($this->head_args[$key], $xss_clean) : NULL;
1520+
return isset($this->_head_args[$key]) ? $this->_xss_clean($this->_head_args[$key], $xss_clean) : NULL;
15211521
}
15221522

15231523
/**

0 commit comments

Comments
 (0)