aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-21 13:37:55 -0700
committerzotlabs <mike@macgirvin.com>2018-05-21 13:37:55 -0700
commitd9066ef26b5c44eddd4150f280e039a41bdbc1f0 (patch)
treecb53b1b3b203dc9bec9f313e062f880afbf2d498
parent49f7d63290b3520f3758617952b3b59d43abeca1 (diff)
downloadvolse-hubzilla-d9066ef26b5c44eddd4150f280e039a41bdbc1f0.tar.gz
volse-hubzilla-d9066ef26b5c44eddd4150f280e039a41bdbc1f0.tar.bz2
volse-hubzilla-d9066ef26b5c44eddd4150f280e039a41bdbc1f0.zip
not null violation oauth1
-rw-r--r--include/oauth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oauth.php b/include/oauth.php
index a3c52bf27..845ec4558 100644
--- a/include/oauth.php
+++ b/include/oauth.php
@@ -79,7 +79,7 @@ class ZotOAuth1DataStore extends OAuth1DataStore {
$k = $consumer;
}
- $r = q("INSERT INTO tokens (id, secret, client_id, auth_scope, expires) VALUES ('%s','%s','%s','%s', %d)",
+ $r = q("INSERT INTO tokens (id, secret, client_id, auth_scope, expires, uid) VALUES ('%s','%s','%s','%s', %d, 0)",
dbesc($key),
dbesc($sec),
dbesc($k),