From 9abd95fad3784a10fc48bc40f9b8a75d7d74edda Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 16:06:03 -0700 Subject: static App --- mod/pconfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/pconfig.php') diff --git a/mod/pconfig.php b/mod/pconfig.php index 413dd2911..64fc1271c 100755 --- a/mod/pconfig.php +++ b/mod/pconfig.php @@ -68,7 +68,7 @@ function pconfig_content(&$a) { if(argc() == 2) { $content .= 'pconfig[' . local_channel() . ']' . EOL; load_pconfig(local_channel(),escape_tags(argv(1))); - foreach($a->config[local_channel()][escape_tags(argv(1))] as $k => $x) { + foreach(App::$config[local_channel()][escape_tags(argv(1))] as $k => $x) { $content .= 'pconfig[' . local_channel() . '][' . escape_tags(argv(1)) . '][' . $k . '] = ' . escape_tags($x) . EOL; } } -- cgit v1.2.3