add author
This commit is contained in:
@@ -5,9 +5,11 @@ function api_pricehash($hash){
|
||||
|
||||
$pricesql = "
|
||||
SELECT
|
||||
`price_id`, `pricename`, `BeginDate`, `category_id`, `pages`, `pdf`, `html`
|
||||
`price_id`, `pricename`, `BeginDate`, `category_id`, `pages`, `pdf`, `html`, `author`
|
||||
FROM
|
||||
`price`
|
||||
`price`
|
||||
LEFT JOIN
|
||||
price_authors ON price.priceauthor_id = price_authors.author_id
|
||||
WHERE
|
||||
`pricehash` = '$hash'
|
||||
LIMIT 1
|
||||
|
||||
Reference in New Issue
Block a user