aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-07 16:56:26 -0700
committerFriendika <info@friendika.com>2011-08-07 16:56:26 -0700
commit1eec10329a4764f132b159e7b1bbf37added6c8a (patch)
tree545c9a280fc5fc6d62f7adfa15e76fb8364c5ecc /mod/register.php
parenteea493d1f575871f89ede359a9a216ff4c39ea53 (diff)
downloadvolse-hubzilla-1eec10329a4764f132b159e7b1bbf37added6c8a.tar.gz
volse-hubzilla-1eec10329a4764f132b159e7b1bbf37added6c8a.tar.bz2
volse-hubzilla-1eec10329a4764f132b159e7b1bbf37added6c8a.zip
guid functions
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php
index a8d81f1f6..fbd21a567 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -201,7 +201,7 @@ function register_post(&$a) {
$r = q("INSERT INTO `user` ( `guid`, `username`, `password`, `email`, `openid`, `nickname`,
`pubkey`, `prvkey`, `spubkey`, `sprvkey`, `register_date`, `verified`, `blocked` )
VALUES ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d )",
- dbesc(generate_guid()),
+ dbesc(generate_user_guid()),
dbesc($username),
dbesc($new_password_encoded),
dbesc($email),