diff options
author | Yaco <franco@reevo.org> | 2019-08-30 04:21:10 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-08-30 04:21:10 -0300 |
commit | 3f854b405ae3030fddce40d21824da841c268a9e (patch) | |
tree | 448d4444380e370bd225170611e988f9fc3984ed | |
parent | 508d8972d90f0554cd71c68b99e3358e6ff4443c (diff) |
corrige error de imagenes con valor NULL
-rw-r--r-- | bin/wiki/ImportarExperiencia/import.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/wiki/ImportarExperiencia/import.php b/bin/wiki/ImportarExperiencia/import.php index d45e7e08..c4550e6b 100644 --- a/bin/wiki/ImportarExperiencia/import.php +++ b/bin/wiki/ImportarExperiencia/import.php @@ -158,16 +158,16 @@ if ($media_images) { <gallery> "; foreach ($media_images as $key => $value) { - $image = ImportarImagen($value,$titulo,$key,$services); - $content .= "$image \n"; + echo $value; + if ($value != "NULL") { + $image = ImportarImagen($value,$titulo,$key,$services); + $content .= "$image \n"; + } } $content .= "</gallery>"; }; - - - $content .= " [[CategorÃa:Experiencia]] [[CategorÃa:Experiencia migrada]] |