From 1162af4c0da4998d484240f2e65195d7996e5d8c Mon Sep 17 00:00:00 2001 From: Habeas Codice Date: Tue, 7 Apr 2015 05:42:47 -0700 Subject: "PHP Strict Standards: Only variables should be passed by reference" --- include/RedDAV/RedBrowser.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/RedDAV/RedBrowser.php b/include/RedDAV/RedBrowser.php index 56d18ded6..31c2c1e45 100644 --- a/include/RedDAV/RedBrowser.php +++ b/include/RedDAV/RedBrowser.php @@ -271,8 +271,9 @@ class RedBrowser extends DAV\Browser\Plugin { '$nick' => $this->auth->getCurrentUser() )); - get_app()->page['content'] = $html; - load_pdl(get_app()); + $a = get_app(); + $a->page['content'] = $html; + load_pdl($a); $theme_info_file = "view/theme/" . current_theme() . "/php/theme.php"; if (file_exists($theme_info_file)){ @@ -282,7 +283,7 @@ class RedBrowser extends DAV\Browser\Plugin { $func(get_app()); } } - construct_page(get_app()); + construct_page($a); } /** -- cgit v1.2.3