diff options
Diffstat (limited to 'server/test.php')
| -rw-r--r-- | server/test.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/server/test.php b/server/test.php index d7ee6f6..196be0d 100644 --- a/server/test.php +++ b/server/test.php @@ -65,9 +65,11 @@ foreach($images as $i){ } echo "</br>"; -foreach ($list as $l) { - echo $l; - echo "</br>"; +if(isset($list)){ + foreach ($list as $l) { + echo $l; + echo "</br>"; + } } // Détails Image @@ -86,8 +88,10 @@ foreach ($list as $l) { /* $opt_update = Array(); $opt_update['name'] = "Test"; +$opt_update['tags'] = null; $update = $image->update_image($id_image, $opt_update); echo $update->name; */ + ?>
\ No newline at end of file |
