diff options
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"); |