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