From ee9b11eda3699c46d5438e8c30498fa4a82ac136 Mon Sep 17 00:00:00 2001 From: rmontanana Date: Sun, 16 Feb 2014 22:10:57 +0100 Subject: [PATCH] =?UTF-8?q?Cambiada=20una=20instrucci=C3=B3n=20que=20provo?= =?UTF-8?q?caba=20problemas=20en=20php=205.3=20$tmpco=20=3D=20explode("/",?= =?UTF-8?q?=20$co);=20$datoEnlace=20=3D=20$tmpco[1];?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mantenimiento.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mantenimiento.php b/Mantenimiento.php index e34a70f..1c81eb1 100644 --- a/Mantenimiento.php +++ b/Mantenimiento.php @@ -145,7 +145,8 @@ class Mantenimiento { $comen = explode(",", $this->campos[$clave]['Comment']); foreach ($comen as $co) { if (strstr($co, "link")) { - $datoEnlace = explode("/", $co)[1]; + $tmpco = explode("/", $co); + $datoEnlace = $tmpco[1]; } } $this->campoBusca = $dato[1];