git-svn-id: https://msi/svn/firstRepo/Service/branches/Manut_2.2.3@71 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ $app->get('/photos/', function () use ($app) {
|
||||
$app->get('/ricetta/:itemID/photos', function ($itemID) use ($app) {
|
||||
$callbackFn = $app->request()->get('callback');
|
||||
|
||||
$query = "SELECT id as id_photo, type_format, from_profile_id, uploaded_date, profilo.Name as profile_name, published from immagini" .
|
||||
$query = "SELECT id as id_photo, type_format, from_profile_id, uploaded_date, profilo.Name as profile_name, published, bCover from immagini" .
|
||||
" INNER JOIN profilo ON profilo.ProfiloID = immagini.from_profile_id".
|
||||
" WHERE id_ricette = " . $itemID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user