aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-05 22:13:56 -0700
committerredmatrix <git@macgirvin.com>2016-04-05 22:13:56 -0700
commit54aa998b520f0f8932be3f5e358b926fadd1b77a (patch)
tree034f18bc24f5faf2db8d8cccfeb4c8aae7ae1255 /include/language.php
parent4aa2733699deffcee5b30ea7670d46027a9f8696 (diff)
downloadvolse-hubzilla-54aa998b520f0f8932be3f5e358b926fadd1b77a.tar.gz
volse-hubzilla-54aa998b520f0f8932be3f5e358b926fadd1b77a.tar.bz2
volse-hubzilla-54aa998b520f0f8932be3f5e358b926fadd1b77a.zip
undeclared static property App::$stringsave (push_lang() and pop_lang())
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/language.php b/include/language.php
index 1a012cb84..d6b7606ca 100644
--- a/include/language.php
+++ b/include/language.php
@@ -109,7 +109,7 @@ function pop_lang() {
if(App::$language === App::$langsave)
return;
- if(isset(App::$stringsave))
+ if(isset(App::$stringsave) && is_array(App::$stringsave))
App::$strings = App::$stringsave;
else
App::$strings = array();