aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-30 18:17:38 -0700
committerfriendica <info@friendica.com>2012-08-30 18:17:38 -0700
commiteac29badb2fade43dfe3fd6373ffc675858143dd (patch)
treeecf3ec6007a22a755900c46a4bc1e4862cc08d06 /mod/regmod.php
parentf6d198ce5dcd9fe416975ff760439dfacbb83812 (diff)
downloadvolse-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.php4
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");