X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/4cf359b26dbb47d985591feb13d4b5a4d6904065..dc64da7441cf7a3be096c0a3d03ac7acac6f7d7d:/lib/MECON/Marco/Seccion.php?ds=sidebyside 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; } }