diff --git a/e107_handlers/application.php b/e107_handlers/application.php index 71a5de2e6..1834c6191 100644 --- a/e107_handlers/application.php +++ b/e107_handlers/application.php @@ -3918,22 +3918,19 @@ class eResponse /** * * @param string $render_mod - * @param string $ns + * @param mixed $ns * @return eResponse */ function setRenderMod($render_mod, $ns = 'default') { - if(!is_string($ns) || empty($ns)) - { - return $this; - } - $this->_render_mod[$ns] = (string) $render_mod; + $this->_render_mod[$ns] = $render_mod; return $this; } /** * Retrieve render mod - * @param string $ns + * @param mixed $ns + * @return mixed */ function getRenderMod($ns = 'default') {