]> wagner.pp.ru Git - oss/vjournal.git/commitdiff
output headers for userinfo
authorVictor Wagner <vitus@wagner.pp.ru>
Fri, 11 Oct 2013 18:39:08 +0000 (22:39 +0400)
committerVictor Wagner <vitus@wagner.pp.ru>
Fri, 11 Oct 2013 18:39:08 +0000 (22:39 +0400)
bin/userinfo

index 653d099f6ab0253679f60b9c90df2233b22d92d5..7499a90db1dbc2af445ec3aaf3b3ecb329573d64 100644 (file)
@@ -65,6 +65,6 @@ if (!defined $session) {
        }                       
                
 }
-$session->header(-content_type=>"text/json",-charset=>utf-8);
+print $session->header(-content_type=>"text/json",-charset=>"utf-8");
 print encode_json($out);