Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/lookup-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/lib/UserManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/UserManager.php b/server/lib/UserManager.php
index 1b55f8a..3d1759e 100644
--- a/server/lib/UserManager.php
+++ b/server/lib/UserManager.php
@@ -217,7 +217,7 @@ LIMIT ' . $limit);
$id = $this->db->lastInsertId();
$stmt->closeCursor();
- $fields = ['name', 'email', 'address', 'website', 'twitter', 'phone', 'twitter_signature', 'website_signature'];
+ $fields = ['name', 'email', 'address', 'website', 'twitter', 'phone', 'twitter_signature', 'website_signature', 'userid'];
foreach ($fields as $field) {
if (!isset($data[$field]) || $data[$field] === '') {
@@ -249,7 +249,7 @@ LIMIT ' . $limit);
$stmt->bindParam(':timestamp', $timestamp, \PDO::PARAM_INT);
$stmt->execute();
$stmt->closeCursor();
- $fields = ['name', 'email', 'address', 'website', 'twitter', 'phone', 'twitter_signature', 'website_signature'];
+ $fields = ['name', 'email', 'address', 'website', 'twitter', 'phone', 'twitter_signature', 'website_signature', 'userid'];
$stmt = $this->db->prepare('SELECT * FROM store WHERE userId = :userId');
$stmt->bindParam(':userId', $id, \PDO::PARAM_INT);