- Fix wrong variable name in Config and PConfig
pull/2820/head
Hypolite Petovan 2016-09-30 09:22:35 -04:00
rodzic f9678bb6c3
commit 76382147ae
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
namespace Friendica\Core;
/**
* @file include/Core/Config.php
*
*
* @brief Contains the class with methods for system configuration
*/
@ -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>!') {

Wyświetl plik

@ -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>!') {
@ -134,7 +134,7 @@ class PConfig {
dbesc($key),
dbesc($dbvalue)
);
if($ret)
if($ret)
return $value;
return $ret;
}