aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-27 20:55:27 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-27 20:55:27 +0100
commitf691e8981af3632e54b77739ee64ef86a7436aea (patch)
treeb38e0e79429136e66c0b5d4348a204f1713805fe /include
parente569f5d6ebc44b8bd6011e8ec2db757188b51c48 (diff)
downloadvolse-hubzilla-f691e8981af3632e54b77739ee64ef86a7436aea.tar.gz
volse-hubzilla-f691e8981af3632e54b77739ee64ef86a7436aea.tar.bz2
volse-hubzilla-f691e8981af3632e54b77739ee64ef86a7436aea.zip
fixes #194 - New directory server is selected on every directory page reload
Diffstat (limited to 'include')
-rw-r--r--include/dir_fns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index b9f221bd1..fd2a5835d 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -22,7 +22,7 @@ function find_upstream_directory($dirmode) {
$r = q("select * from site where site_url = '%s' limit 1",
dbesc($preferred)
);
- if(($r) && ($r[0]['site_flags'] & DIRECTORY_MODE_STADALONE)) {
+ if(($r) && ($r[0]['site_flags'] & DIRECTORY_MODE_STANDALONE)) {
$preferred = '';
}
}