openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit a61ef1620b01e0a2e4e672e7adf451d8bac01dfa
parent 0337b21871ef59ceb82323cfdccc3c64fc2787b8
Author: Jan Dankert <devnull@localhost>
Date:   Thu, 29 Dec 2016 22:22:57 +0100

Bugfix: Beim Mime-Type "application/php-serialized" auch die Inhalte ausgeben.

Diffstat:
action/Action.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/action/Action.class.php b/action/Action.class.php @@ -405,7 +405,7 @@ class Action if ( sizeof($types)==1 && in_array('application/php-serialized',$types) || $this->getRequestVar('output')=='php' ) { header('Content-Type: application/php-serialized; charset=UTF-8'); - serialize($this->templateVars); + echo serialize($this->templateVars); exit; }