- Fix wrong variable name in Config and PConfig
This commit is contained in:
Hypolite Petovan 2016-09-30 09:22:35 -04:00
parent f9678bb6c3
commit 76382147ae
2 changed files with 4 additions and 4 deletions

View file

@ -74,7 +74,7 @@ class Config {
global $a;
if(! $instore) {
if(! $refresh) {
// Looking if the whole family isn't set
if(isset($a->config[$family])) {
if($a->config[$family] === '!<unset>!') {

View file

@ -67,7 +67,7 @@ class PConfig {
global $a;
if(! $instore) {
if(! $refresh) {
// Looking if the whole family isn't set
if(isset($a->config[$uid][$family])) {
if($a->config[$uid][$family] === '!<unset>!') {