mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
missing argument (response class)
This commit is contained in:
@@ -3530,15 +3530,19 @@ class eResponse
|
||||
/**
|
||||
* Get content
|
||||
* @param str $ns
|
||||
* @param boolean $reset
|
||||
* @return string
|
||||
*/
|
||||
public function getBody($ns = 'default')
|
||||
public function getBody($ns = 'default', $reset = false)
|
||||
{
|
||||
if(!isset($this->_body[$ns]))
|
||||
{
|
||||
$this->_body[$ns] = '';
|
||||
}
|
||||
return $this->_body[$ns];
|
||||
$ret = $this->_body[$ns];
|
||||
if($reset) unset($this->_body[$ns]);
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user