aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-04-07 05:42:47 -0700
committerHabeas Codice <habeascodice@federated.social>2015-04-07 05:42:47 -0700
commit1162af4c0da4998d484240f2e65195d7996e5d8c (patch)
tree2f6a49f46d71f8c31ac8cc6c081716d014796a87
parent5bc7c0e7988765998d44f005a9e7121848888660 (diff)
downloadvolse-hubzilla-1162af4c0da4998d484240f2e65195d7996e5d8c.tar.gz
volse-hubzilla-1162af4c0da4998d484240f2e65195d7996e5d8c.tar.bz2
volse-hubzilla-1162af4c0da4998d484240f2e65195d7996e5d8c.zip
"PHP Strict Standards: Only variables should be passed by reference"
-rw-r--r--include/RedDAV/RedBrowser.php7
1 files 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);
}
/**