From 105cf682a51a325c400ed953e76496b1cb2113ce Mon Sep 17 00:00:00 2001 From: Masao Maeda Date: Fri, 8 Oct 2010 21:02:02 +0900 Subject: [PATCH] fixed: fixed the bug of request_panel.php in WebProfiler When the session attributes don't exist, $data->sessionAttributes->getRawValue() cannot be called as not being defined. So check the session attributes before calling getRawValue() --- .../Resources/views/Profiler/request_panel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php index be70e4c36c8ca..b6bb6c827d02d 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php @@ -42,7 +42,8 @@ Value - getSessionAttributes()->getRawValue() as $key => $value): ?> + getSessionAttributes())):?> + getRawValue() as $key => $value): ?> @@ -58,4 +59,5 @@ + pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy