diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/connedit.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/connedit.php b/mod/connedit.php index ad311f9a4..9c46fa999 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -666,6 +666,10 @@ function connedit_content(&$a) { if($locs) { foreach($locs as $l) { + if(!($l['location'])) + continue; + if(strpos($locstr,$l['location']) !== false) + continue; if(strlen($locstr)) $locstr .= ', '; $locstr .= $l['location']; |