more removal of reserved words from DB schemas

This commit is contained in:
redmatrix
2016-05-31 17:50:47 -07:00
parent 00b4843425
commit dfb6255f59
12 changed files with 54 additions and 37 deletions

View File

@@ -368,7 +368,7 @@ require_once('include/api_auth.php');
else
$redirect = trim($_REQUEST['redirect_uris']);
$icon = trim($_REQUEST['logo_uri']);
$r = q("INSERT INTO clients (client_id, pw, name, redirect_uri, icon, uid)
$r = q("INSERT INTO clients (client_id, pw, clname, redirect_uri, icon, uid)
VALUES ('%s','%s','%s','%s','%s',%d)",
dbesc($key),
dbesc($secret),