Skip to content
Permalink
Browse files

add uuid for new subscriber

  • Loading branch information...
michield committed Feb 6, 2017
1 parent 1d00741 commit f82abcdbbea8b22248a7136c5b76e21e153e1b13
Showing with 2 additions and 2 deletions.
  1. +2 −2 public_html/lists/admin/subscribelib2.php
@@ -181,8 +181,8 @@
if (!Sql_affected_rows()) {
// they do not exist, so add them
$query = sprintf('insert into %s (email,entered,uniqid,confirmed,
htmlemail,subscribepage) values("%s",now(),"%s",0,%d,%d)',
$GLOBALS['tables']['user'], sql_escape($email), getUniqid(), $htmlemail, $id);
htmlemail,subscribepage,uuid) values("%s",now(),"%s",0,%d,%d,"%s")',
$GLOBALS['tables']['user'], sql_escape($email), getUniqid(), $htmlemail, $id, (string) uuid::generate(4));
$result = Sql_query($query);
$userid = Sql_Insert_Id();
addSubscriberStatistics('total users', 1);

0 comments on commit f82abcd

Please sign in to comment.
You can’t perform that action at this time.