Answer the question
In order to leave comments, you need to log in
Solved, Where is the unclosed tag here?
PHPstorm writes that the tag is not closed in these lines and the code does not work. But, everything is closed, although I may be missing something.
<li><a href="/pages/" <?php if (App::getRouter()->getController() == 'pages') {?>class = "active" <?php } ?> >Pages</a></li>
<li><a href="/contacts/" <?php if (App::getRouter()->getController() == 'contacts') {?> class = "active"<?php } ?> >Contact Us</a></li>
Answer the question
In order to leave comments, you need to log in
everything is closed, check other places. Perhaps the classes are not described in space. what does php say?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question