diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-21 13:37:55 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-21 13:37:55 -0700 |
commit | d9066ef26b5c44eddd4150f280e039a41bdbc1f0 (patch) | |
tree | cb53b1b3b203dc9bec9f313e062f880afbf2d498 /include | |
parent | 49f7d63290b3520f3758617952b3b59d43abeca1 (diff) | |
download | volse-hubzilla-d9066ef26b5c44eddd4150f280e039a41bdbc1f0.tar.gz volse-hubzilla-d9066ef26b5c44eddd4150f280e039a41bdbc1f0.tar.bz2 volse-hubzilla-d9066ef26b5c44eddd4150f280e039a41bdbc1f0.zip |
not null violation oauth1
Diffstat (limited to 'include')
-rw-r--r-- | include/oauth.php | 2 |
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), |