diff options
author | friendica <info@friendica.com> | 2012-08-30 18:17:38 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-30 18:17:38 -0700 |
commit | eac29badb2fade43dfe3fd6373ffc675858143dd (patch) | |
tree | ecf3ec6007a22a755900c46a4bc1e4862cc08d06 /mod/regmod.php | |
parent | f6d198ce5dcd9fe416975ff760439dfacbb83812 (diff) | |
download | volse-hubzilla-eac29badb2fade43dfe3fd6373ffc675858143dd.tar.gz volse-hubzilla-eac29badb2fade43dfe3fd6373ffc675858143dd.tar.bz2 volse-hubzilla-eac29badb2fade43dfe3fd6373ffc675858143dd.zip |
start on contacts/profiles
Diffstat (limited to 'mod/regmod.php')
-rw-r--r-- | mod/regmod.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/regmod.php b/mod/regmod.php index 21f41eb01..120d21cae 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -28,10 +28,10 @@ function user_allow($hash) { intval($register[0]['uid']) ); - $r = q("SELECT * FROM `profile` WHERE `uid` = %d AND `is-default` = 1", + $r = q("SELECT * FROM `profile` WHERE `uid` = %d AND `is_default` = 1", intval($user[0]['uid']) ); - if(count($r) && $r[0]['net-publish']) { + if(count($r) && $r[0]['publish']) { $url = $a->get_baseurl() . '/profile/' . $user[0]['nickname']; if($url && strlen(get_config('system','directory_submit_url'))) proc_run('php',"include/directory.php","$url"); |