X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/4cf359b26dbb47d985591feb13d4b5a4d6904065..d32af4c6a95ab6ed27a78e2fee1244e2b3bd4009:/lib/MECON/Marco/Seccion.php diff --git a/lib/MECON/Marco/Seccion.php b/lib/MECON/Marco/Seccion.php index 3fdfaec..0489872 100644 --- a/lib/MECON/Marco/Seccion.php +++ b/lib/MECON/Marco/Seccion.php @@ -220,7 +220,7 @@ Devuelve 1 si pertenece a la seccion, en caso contrario 0. $retorno = 0; if (isset($tmp) && array_key_exists($this->_nombre,$tmp)) { foreach ($tmp[$this->_nombre] as $t) { - if ($link_sel == $t) { + if (rtrim($link_sel, '/') == rtrim($t, '/')) { $retorno = 1; } }