aboutsummaryrefslogtreecommitdiffstats
path: root/addon/randplace
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-27 14:59:26 -0800
committerFriendika <info@friendika.com>2010-12-27 14:59:26 -0800
commitfd9b506c2f19750bdea532b63c6ff28424ec5a7b (patch)
treec923585b384119b0d6c63da4ec1702e0485ce870 /addon/randplace
parent2e19af4b1e23691abc33e0b5a5af5adae36aec42 (diff)
downloadvolse-hubzilla-fd9b506c2f19750bdea532b63c6ff28424ec5a7b.tar.gz
volse-hubzilla-fd9b506c2f19750bdea532b63c6ff28424ec5a7b.tar.bz2
volse-hubzilla-fd9b506c2f19750bdea532b63c6ff28424ec5a7b.zip
Add sample external authentication plugin (ldap)
Diffstat (limited to 'addon/randplace')
-rw-r--r--addon/randplace/randplace.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/randplace/randplace.php b/addon/randplace/randplace.php
index 2e1bd33ac..2f0ff038b 100644
--- a/addon/randplace/randplace.php
+++ b/addon/randplace/randplace.php
@@ -110,7 +110,7 @@ function randplace_post_hook($a, &$item) {
$cities = array();
$zones = timezone_identifiers_list();
foreach($zones as $zone) {
- if(strpos($zone,'/'))
+ if((strpos($zone,'/')) && (! stristr($zone,'US/')) && (! stristr($zone,'Etc/')))
$cities[] = str_replace('_', ' ',substr($zone,strpos($zone,'/') + 1));
}