diff options
| author | Yoggzo <yogg@epsina.com> | 2016-02-02 11:15:51 +0100 |
|---|---|---|
| committer | Yoggzo <yogg@epsina.com> | 2016-02-02 11:15:51 +0100 |
| commit | ab6e45d5e152518fd07c7bbce6f5eb2f42b30e07 (patch) | |
| tree | 7916319125395a5f41e54295080222cfceec8c42 /server/test.php | |
| parent | e2dacb129e75111559a6f16252009b031c2baeb4 (diff) | |
Modifications of create_image and update_image
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 |
