For example:

if ($on && !in_array($ui_lib, $libraries)) $libraries[] = $ui_lib;

Comments

goron’s picture

Title: Realize Drupals coding standards! » Fix single-line if statements to match coding standards
Status: Active » Fixed

I'm aware of the coding standards. Please try to post more constructive issues than "realize coding standards!". There are very few coding standards issues in the module actually, so I've changed the issue to specifically be about the if statement structure. I found 3 occurrences of single-line if statements and fixed them.

If you have other coding standards complaints, please mention them specifically or provide a patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.