diff options
author | redmatrix <git@macgirvin.com> | 2016-05-31 17:50:47 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-31 17:50:47 -0700 |
commit | dfb6255f59980835d364402b372dd39f2b41ee7c (patch) | |
tree | f8d97437d713311a9cd3cf13e0e8faa5b617fa8f /Zotlabs/Module/Api.php | |
parent | 00b4843425371e4ff55c82be577a279e248c29fc (diff) | |
download | volse-hubzilla-dfb6255f59980835d364402b372dd39f2b41ee7c.tar.gz volse-hubzilla-dfb6255f59980835d364402b372dd39f2b41ee7c.tar.bz2 volse-hubzilla-dfb6255f59980835d364402b372dd39f2b41ee7c.zip |
more removal of reserved words from DB schemas
Diffstat (limited to 'Zotlabs/Module/Api.php')
-rw-r--r-- | Zotlabs/Module/Api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Api.php b/Zotlabs/Module/Api.php index 3e7f23b6c..e4744c29f 100644 --- a/Zotlabs/Module/Api.php +++ b/Zotlabs/Module/Api.php @@ -107,7 +107,7 @@ class Api extends \Zotlabs\Web\Controller { $r = q("SELECT `clients`.* FROM `clients`, `tokens` WHERE `clients`.`client_id`=`tokens`.`client_id` - AND `tokens`.`id`='%s' AND `tokens`.`scope`='request'", + AND `tokens`.`id`='%s' AND `tokens`.`auth_scope`='request'", dbesc($token)); if (!count($r)) |