mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
fix edit and list
This commit is contained in:
@@ -65,7 +65,12 @@ class PSExposeController extends Controller
|
||||
]);
|
||||
|
||||
if ($resPublication->getStatusCode() == 200) {
|
||||
$publications[] = json_decode($resPublication->getBody()->getContents(),true);
|
||||
$publication = json_decode($resPublication->getBody()->getContents(),true);
|
||||
$publications[] = $publication;
|
||||
|
||||
foreach ($publication['children'] as $child ) {
|
||||
$publications[] = $child;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user