X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/4cf359b26dbb47d985591feb13d4b5a4d6904065..ad1d012e63058a7b1b53e808192ec039e425df00:/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; } }