User tests: Successful: Unsuccessful:
Code style changes for mod_menu layout.
Code review
Status | New | ⇒ | Pending |
Category | ⇒ | Modules Front End |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-11-23 10:54:08 |
Closed_By | ⇒ | Bakual |
Milestone |
Added: |
what you think about if this code:
$id = '';
if ($tagId = $params->get('tag_id', ''))
{
$id = ' id="' . $tagId . '"';
}
replace to:
$id = $params->get('tag_id', '');
$id = $id ? ' id="' . $id . '"' : '';
I'd leave the current one as it is more readable (imho).
Looks OK on review here.