diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-31 16:38:22 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-31 16:38:22 -0700 |
commit | f0b640058427aff2d9d60899f9005980ab89c0ef (patch) | |
tree | a7e2f2d7fca62e73f725dc072fa1944150a86bd0 /mod/contacts.php | |
parent | ceabd7629bab4a490515aa8608acf0738159e1d0 (diff) | |
download | volse-hubzilla-f0b640058427aff2d9d60899f9005980ab89c0ef.tar.gz volse-hubzilla-f0b640058427aff2d9d60899f9005980ab89c0ef.tar.bz2 volse-hubzilla-f0b640058427aff2d9d60899f9005980ab89c0ef.zip |
more lint
Diffstat (limited to 'mod/contacts.php')
-rw-r--r-- | mod/contacts.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/contacts.php b/mod/contacts.php index beb1f1ecb..02c75c775 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -4,6 +4,8 @@ require_once('include/Contact.php'); function contacts_init(&$a) { require_once('include/group.php'); + if(! x($a->page,'aside')) + $a->page['aside'] = ''; $a->page['aside'] .= group_side(); if($a->config['register_policy'] != REGISTER_CLOSED) @@ -84,7 +86,11 @@ function contacts_post(&$a) { function contacts_content(&$a) { + $sort_type = 0; + $o = ''; $o .= '<script> $(document).ready(function() { $(\'#nav-contacts-link\').addClass(\'nav-selected\'); });</script>'; + + if(! local_user()) { notice( t('Permission denied.') . EOL); return; |