Ver originalforeach($Seccion as $value)
Ver originalif(count($Seccion)>0) { foreach($Seccion as $value) {...} } {